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 temporary name to the final target file name.In that rename operation, it might accidentally *widen*…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (7.32%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 7.32% probability · 94th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-840, CWE-276
- Affected
- haxx/curl · fedoraproject/fedora · debian/debian linux · netapp/clustered data ontap · netapp/element software · netapp/hci management node · netapp/solidfire · netapp/bootstrap os · netapp/h300s firmware · netapp/h500s firmware · netapp/h700s firmware · netapp/h410s firmware · apple/macos · splunk/universal forwarder
- Source
- support@hackerone.com
References
- http://seclists.org/fulldisclosure/2022/Oct/28Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/41Mailing List, Third Party Advisory
- https://hackerone.com/reports/1573634Exploit, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202212-01Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220915-0003/Third Party Advisory
- https://support.apple.com/kb/HT213488Third Party Advisory
- https://www.debian.org/security/2022/dsa-5197Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/28Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/41Mailing List, Third Party Advisory
- https://hackerone.com/reports/1573634Exploit, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202212-01Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220915-0003/Third Party Advisory
- https://support.apple.com/kb/HT213488Third Party Advisory
- https://www.debian.org/security/2022/dsa-5197Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.