CVE-2022-32207
Reported by hackerone · Published July 7, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libcurl-compat | Arch Linux | 7.84.0-1 |
| libcurl | Amazon Linux | 7.87.0-2.amzn2023.0.2, 7.79.1-6.amzn2.0.1 |
| libcurl-gnutls | Arch Linux | 7.84.0-1 |
| curl | Alpine | 7.84.0-r0, 7.83.1-r2, 7.80.0-r2, 7.79.1-r2 |
| curl | Amazon Linux | 7.87.0-2.amzn2023.0.2, 7.79.1-6.amzn2.0.1 |
| libcurl-devel | Amazon Linux | 7.79.1-6.amzn2.0.1 |
| universal_forwarder | splunk | 9.0.6, 8.2.12 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| curl | haxx | 7.84.0 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/curl/curl | Fixed in 7.84.0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| arch | libcurl-compat | 0 |
| amazon:2 | libcurl | 0 |
| arch | libcurl-gnutls | 0 |
| alpine | curl | 0, 0, 0 |
| amazon:2023 | libcurl | 0 |
| Siemens | SINAMICS PERFECT HARMONY GH180 | 0 |
| amazon:2023 | curl | 0 |
| amazon:2 | libcurl-devel | 0 |
| amazon:2 | curl | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| n/a | https://github.com/curl/curl | 7.84.0 |
| arch | curl | 0 |
| amazon:2023 | libcurl-devel | 0 |
| amazon:2023 | curl-minimal | 0 |
| amazon:2023 | libcurl-minimal | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
Timeline
- Jun 27, 2022 PoC Published (5 in total, the first dated here)
- Jul 7, 2022 CVE Published
- Jul 8, 2022 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory (27 in total, the first dated here)
- Jun 24, 2026 Coalition ESS Score
- Jul 2, 2026 Distribution Patch (23 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-32207
vulnetix vdb fixes CVE-2022-32207
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-32207/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-1b3d7f6973 vendor-advisory
- DSA-5197 vendor-advisory
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- GLSA-202212-01 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-419740.html url
- https://cert-portal.siemens.com/productcert/html/ssa-558014.html url
- https://cert-portal.siemens.com/productcert/html/ssa-942865.html url
- https://cert-portal.siemens.com/productcert/html/ssa-146325.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url