{"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-04-10T04:48:06.442914Z","published":"2022-07-07T13:15:08.403Z","related":["ALSA-2022:6157","MGASA-2022-0250","SUSE-SU-2022:2305-1","openSUSE-SU-2024:12214-1"],"references":[{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/"},{"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://support.apple.com/kb/HT213488"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5197"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2022/Oct/28"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2022/Oct/41"},{"type":"EVIDENCE","url":"https://hackerone.com/reports/1573634"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/curl/curl","events":[{"introduced":"b8d1366852fd0034374c5de1e4968c7a224f77cc"},{"fixed":"45ac4d019475df03562fe0ac54eb67e1d1de0ca7"}],"database_specific":{"versions":[{"introduced":"7.69.0"},{"fixed":"7.84.0"}]}}],"versions":["curl-7_69_0","curl-7_69_1","curl-7_70_0","curl-7_71_0","curl-7_71_1","curl-7_72_0","curl-7_73_0","curl-7_74_0","curl-7_75_0","curl-7_76_0","curl-7_76_1","curl-7_77_0","curl-7_78_0","curl-7_79_0","curl-7_79_1","curl-7_80_0","curl-7_81_0","curl-7_82_0","curl-7_83_0","curl-7_83_1"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"35"}]},{"events":[{"introduced":"0"},{"last_affected":"11.0"}]},{"events":[{"introduced":"0"},{"fixed":"13.0"}]},{"events":[{"introduced":"8.2.0"},{"fixed":"8.2.12"}]},{"events":[{"introduced":"9.0.0"},{"fixed":"9.0.6"}]},{"events":[{"introduced":"0"},{"last_affected":"9.1.0"}]}],"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"}]}