CVE-2022-32207CWE-276

CVE-2022-32207

Critical · published July 7, 2022

CVSS v3.1
9.8
EPSS
12%
Percentile
96.2
In the wild
Unconfirmed
What it is

🚨 A simple rename could expose sensitive cookie data! Curl versions below 7.84.0 accidentally widen file permissions during cookie saving, making your private browsing info accessible to more users than intended! 🔥 Think of it like a restaurant that mistakenly leaves the back door propped open during a busy night. While it seems secure at first, anyone passing by can easily peek inside and see confidential kitchen orders or recipes—yikes! This vulnerability could lead to an unauthorized user accessing sensitive cookie data and HSTS settings, potentially compromising user sessions and allowing for further attacks. Such exposure is absolutely devastating for user privacy and security!

Put simply

Think of it like a restaurant that mistakenly leaves the back door propped open during a busy night. While it seems secure at first, anyone passing by can easily peek inside and see confidential kitchen orders or recipes—yikes! The issue lies in how curl handles renaming files when saving cookies and related data. An unintended widening of file permissions occurs during this rename operation, allowing unauthorized access to the updated files.

What to do

This vulnerability could lead to an unauthorized user accessing sensitive cookie data and HSTS settings, potentially compromising user sessions and allowing for further attacks. Such exposure is absolutely devastating for user privacy and security! Upgrade curl to version 7.84.0 or later immediately to close this security hole. If you can't update just yet, consider applying stricter file permission settings as a temporary measure. 🛡️ This is fixable! Follow these steps, and you'll be back to secure browsing in no time. You've got this! 💪

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.12321 · 96.2th percentile
Weakness
CWE-276 · Incorrect Default Permissions
Published
2022-07-07T17:15Z
Affected products (16)
ProductVersionsFixed in
haxx/curl≥ 7.69.0, < 7.84.07.84.0
fedoraproject/fedoraall versions—
debian/debian_linuxall versions—
netapp/clustered_data_ontapall versions—
netapp/element_softwareall versions—
netapp/hci_management_nodeall versions—
netapp/solidfireall versions—
netapp/bootstrap_osall versions—
netapp/h300s_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700s_firmwareall versions—
netapp/h410s_firmwareall versions—
apple/macos< 13.013.0
splunk/universal_forwarder≥ 8.2.0, < 8.2.128.2.12
splunk/universal_forwarder≥ 9.0.0, < 9.0.69.0.6
splunk/universal_forwarderall versions—
References (21)
http://seclists.org/fulldisclosure/2022/Oct/28 · [email protected]http://seclists.org/fulldisclosure/2022/Oct/41 · [email protected]https://hackerone.com/reports/1573634 · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/ · [email protected]https://security.gentoo.org/glsa/202212-01 · [email protected]https://security.netapp.com/advisory/ntap-20220915-0003/ · [email protected]https://support.apple.com/kb/HT213488 · [email protected]https://www.debian.org/security/2022/dsa-5197 · [email protected]http://seclists.org/fulldisclosure/2022/Oct/28 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2022/Oct/41 · af854a3a-2127-422b-91ae-364da2661108https://hackerone.com/reports/1573634 · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/ · af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202212-01 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20220915-0003/ · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213488 · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5197 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-146325.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-419740.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-558014.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-942865.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 07 JUL 00:00Z
    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…
    cvelistv5