CVE-2022-32207

curl: Unpreserved file permissions

Published Jul 7, 2022 CVSS 3.1 · 9.8 Critical EPSS 12.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5197-1 curl security update
EUVD EUVD EUVD-2022-53413 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.
Ubuntu USN Ubuntu USN USN-5495-1 curl vulnerabilities