CVE-2022-32207

critical

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.

References

https://hackerone.com/reports/1573634

https://lists.fedoraproject.org/archives/list/[email protected]/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

Details

Source: MITRE

Published: 2022-07-07

Updated: 2022-11-04

Type: CWE-276

Risk Information

CVSS v2

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL