VDB

CVE-2023-28322

CVE-2023-28322 PUBLISHED CVSS 5.3 MEDIUM

Reported by hackerone · Published May 26, 2023

An information disclosure vulnerability exists in curl <v8.1.0 when doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously wasused to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the second transfer. The problem exists in the logic for a reused handle when it is (expected to be) changed from a PUT to a POST.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
curlAmazon Linux8.0.1-1.amzn2023.0.1
curlhaxx8.1.0

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
n/ahttps://github.com/curl/curlFixed in 8.1.0
amazon:2023curl0
n/ahttps://github.com/curl/curl8.1.0
amazon:2023libcurl-minimal0
amazon:2libcurl-devel0
amazon:2curl0
amazon:2023curl-minimal0
amazon:2libcurl0
amazon:2023libcurl0
alpinecurl0
amazon:2023libcurl-devel0

Timeline

  • May 18, 2023 PoC Published (2 in total, the first dated here)
  • May 26, 2023 CVE Published
  • May 27, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (66 in total, the first dated here)
  • Oct 5, 2026 Distribution Patch (60 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-28322
vulnetix vdb fixes CVE-2023-28322

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-28322/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›