cbcvebase.
CVE-2022-32207
published 2022-07-07

CVE-2022-32207: 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…

PriorityP352critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
5.48%
91.7th percentile
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.

Affected

23 ranges
VendorProductVersion rangeFixed in
applemacos< 13.013.0
applemacos_ventura
debiancurl< curl 7.84.0-1 (bookworm)curl 7.84.0-1 (bookworm)
debiandebian_linux
fedoraprojectfedora
haxxcurl>= 0 < 7.74.0-1.3+deb11u27.74.0-1.3+deb11u2
haxxcurl>= 0 < 7.84.0-17.84.0-1
haxxcurl>= 0 < 7.84.0-17.84.0-1
haxxcurl>= 0 < 7.84.0-17.84.0-1
haxxcurl>= 0 < 7.58.0-2ubuntu3.197.58.0-2ubuntu3.19
haxxcurl>= 0 < 7.68.0-1ubuntu2.127.68.0-1ubuntu2.12
haxxcurl>= 0 < 7.81.0-1ubuntu1.37.81.0-1ubuntu1.3
haxxcurl>= 0 < 7.81.0-1ubuntu1.217.81.0-1ubuntu1.21
haxxcurl>= 7.69.0 < 7.84.07.84.0
httpsgithub.com_curl_curl
msrcazl3_rust_1.75.0-14_on_azure_linux_3.0
msrcazl3_rust_1.86.0-1_on_azure_linux_3.0
msrccbl2_curl_7.84.0-1_on_cbl_mariner_2.0
msrccm1_curl_7.84.0-1_on_cbl_mariner_1.0
paloaltopan-os
splunkuniversal_forwarder
splunkuniversal_forwarder>= 8.2.0 < 8.2.128.2.12
splunkuniversal_forwarder>= 9.0.0 < 9.0.69.0.6

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_msrc9.8CRITICAL
vendor_oracle9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu4.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.