VDB

CVE-2022-32207

CVE-2022-32207 PUBLISHED CVSS 9.8 CRITICAL

Reported by hackerone · Published July 7, 2022

When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally *widen* the permissions for the target file, leaving the updated file accessible to more users than intended.

Fixed versions

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

PackageEcosystemFixed in
libcurl-compatArch Linux7.84.0-1
libcurlAmazon Linux7.87.0-2.amzn2023.0.2, 7.79.1-6.amzn2.0.1
libcurl-gnutlsArch Linux7.84.0-1
curlAlpine7.84.0-r0, 7.83.1-r2, 7.80.0-r2, 7.79.1-r2
curlAmazon Linux7.87.0-2.amzn2023.0.2, 7.79.1-6.amzn2.0.1
libcurl-develAmazon Linux7.79.1-6.amzn2.0.1
universal_forwardersplunk9.0.6, 8.2.12
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
curlhaxx7.84.0
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5

Risk scores

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

Affected products

VendorProductVersions
n/ahttps://github.com/curl/curlFixed in 7.84.0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
archlibcurl-compat0
amazon:2libcurl0
archlibcurl-gnutls0
alpinecurl0, 0, 0
amazon:2023libcurl0
SiemensSINAMICS PERFECT HARMONY GH1800
amazon:2023curl0
amazon:2libcurl-devel0
amazon:2curl0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
n/ahttps://github.com/curl/curl7.84.0
archcurl0
amazon:2023libcurl-devel0
amazon:2023curl-minimal0
amazon:2023libcurl-minimal0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0

Timeline

  • Jun 27, 2022 PoC Published (5 in total, the first dated here)
  • Jul 7, 2022 CVE Published
  • Jul 8, 2022 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (27 in total, the first dated here)
  • Jun 24, 2026 Coalition ESS Score
  • Jul 2, 2026 Distribution Patch (23 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-32207
vulnetix vdb fixes CVE-2022-32207

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-2022-32207/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 ›