{"id":"CVE-2022-32207","state":"PUBLISHED","title":"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 t","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.","publishedAt":"2022-07-07T00:00:00.000Z","updatedAt":"2026-10-14T16:48:14.530Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"hackerone","products":["n/a https://github.com/curl/curl"],"affected":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":[{"version":"Fixed in 7.84.0","status":"affected"}]}],"references":["https://hackerone.com/reports/1573634","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/","https://www.debian.org/security/2022/dsa-5197","https://security.netapp.com/advisory/ntap-20220915-0003/","https://support.apple.com/kb/HT213488","http://seclists.org/fulldisclosure/2022/Oct/41","http://seclists.org/fulldisclosure/2022/Oct/28","https://security.gentoo.org/glsa/202212-01","https://cert-portal.siemens.com/productcert/html/ssa-419740.html","https://cert-portal.siemens.com/productcert/html/ssa-558014.html","https://cert-portal.siemens.com/productcert/html/ssa-942865.html","https://cert-portal.siemens.com/productcert/html/ssa-146325.html","https://cert-portal.siemens.com/productcert/html/ssa-398330.html"],"weaknesses":["CWE-840"],"ingestedAt":"2026-10-29T19:50:09.278Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/32xxx/CVE-2022-32207.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-32207","state":"PUBLISHED","datePublished":"2022-07-07T00:00:00.000Z","dateUpdated":"2026-10-14T16:48:14.530Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2022-06-01T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":[{"version":"Fixed in 7.84.0","status":"affected"}]}],"references":[{"url":"https://hackerone.com/reports/1573634"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/","name":"FEDORA-2022-1b3d7f6973","tags":["vendor-advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5197","name":"DSA-5197","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0003/"},{"url":"https://support.apple.com/kb/HT213488"},{"url":"http://seclists.org/fulldisclosure/2022/Oct/41","name":"20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Oct/28","name":"20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202212-01","name":"GLSA-202212-01","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-840","type":"CWE","lang":"en","description":"Business Logic Errors (CWE-840)"}]}],"providerMetadata":{"shortName":"hackerone","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateUpdated":"2022-12-19T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hackerone.com/reports/1573634","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/","name":"FEDORA-2022-1b3d7f6973","tags":["vendor-advisory","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5197","name":"DSA-5197","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0003/","tags":["x_transferred"]},{"url":"https://support.apple.com/kb/HT213488","tags":["x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Oct/41","name":"20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13","tags":["mailing-list","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Oct/28","name":"20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13","tags":["mailing-list","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202212-01","name":"GLSA-202212-01","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T07:32:56.011Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T13:31:36.720075Z","id":"CVE-2022-32207","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T18:04:31.119Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SINAMICS PERFECT HARMONY GH180","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-419740.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-558014.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-942865.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-146325.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T16:48:14.530Z"},"x_adpType":"supplier"}]}}}