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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a https://github.com/curl/curl
Fixed in 7.84.0affected
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 ↗