{"id":"CVE-2022-32207","details":"When curl \u003c 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.","aliases":["CURL-CVE-2022-32207"],"modified":"2026-07-08T06:01:16.647370142Z","published":"2022-07-07T00:00:00Z","related":["ALSA-2022:6157","SUSE-SU-2022:2305-1","openSUSE-SU-2024:12214-1"],"database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"Fixed in 7.84.0"},{"last_affected":"Fixed in 7.84.0"}]}],"cna_assigner":"hackerone","cwe_ids":["CWE-840"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32207.json"},"references":[{"type":"WEB","url":"https://hackerone.com/reports/1573634"},{"type":"WEB","url":"https://support.apple.com/kb/HT213488"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32207.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32207"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202212-01"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220915-0003/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5197"},{"type":"ARTICLE","url":"http://seclists.org/fulldisclosure/2022/Oct/28"},{"type":"ARTICLE","url":"http://seclists.org/fulldisclosure/2022/Oct/41"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/curl/curl","events":[{"introduced":"b8d1366852fd0034374c5de1e4968c7a224f77cc"},{"fixed":"45ac4d019475df03562fe0ac54eb67e1d1de0ca7"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.69.0"},{"fixed":"7.84.0"}]}}],"versions":["curl-7_83_1","curl-7_83_0","curl-7_82_0","curl-7_81_0","curl-7_80_0","curl-7_79_1","curl-7_79_0","curl-7_78_0","curl-7_77_0","curl-7_76_1","curl-7_76_0","curl-7_75_0","curl-7_74_0","curl-7_73_0","curl-7_72_0","curl-7_71_1","curl-7_71_0","curl-7_70_0","curl-7_69_1","curl-7_69_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32207.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}