Related Vulnerabilities: CVE-2022-32207  

A vulnerability was found in curl. This issue occurs because when curl saves cookies, alt-svc, and HSTS data to local files, it makes the operation atomic by finalizing the process with a rename from a temporary name to the final target file name. This flaw leads to unpreserved file permissions, either by mistake or by a malicious actor.

Description

A vulnerability was found in curl. This issue occurs because when curl saves cookies, alt-svc, and HSTS data to local files, it makes the operation atomic by finalizing the process with a rename from a temporary name to the final target file name. This flaw leads to unpreserved file permissions, either by mistake or by a malicious actor.

Additional Information

  • Bugzilla 2099305: CVE-2022-32207 curl: Unpreserved file permissions
  • CWE-281: Improper Preservation of Permissions
  • FAQ: Frequently asked questions about CVE-2022-32207