{"id":"UBUNTU-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.","modified":"2026-04-22T13:23:58.991072Z","published":"2022-06-27T00:00:00Z","related":["USN-5495-1"],"upstream":["CVE-2022-32207"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-32207"},{"type":"REPORT","url":"https://curl.se/docs/CVE-2022-32207.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5495-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-32207"}],"affected":[{"package":{"name":"curl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/curl@7.81.0-1ubuntu1.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.81.0-1ubuntu1.3"}]}],"versions":["7.74.0-1.3ubuntu2","7.74.0-1.3ubuntu3","7.80.0-3","7.81.0-1","7.81.0-1ubuntu1.1","7.81.0-1ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"7.81.0-1ubuntu1.3","binary_name":"curl"},{"binary_version":"7.81.0-1ubuntu1.3","binary_name":"libcurl3-gnutls"},{"binary_version":"7.81.0-1ubuntu1.3","binary_name":"libcurl3-nss"},{"binary_version":"7.81.0-1ubuntu1.3","binary_name":"libcurl4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}