CVE-2025-0167
netrc and default credential leak
Reported by curl · Published February 5, 2025
When asked to use a `.netrc` file for credentials **and** to follow HTTP redirects, curl could leak the password used for the first host to the followed-to host under certain circumstances. This flaw only manifests itself if the netrc file has a `default` entry that omits both login and password. A rare circumstance.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| curl | Amazon Linux | 8.15.0-4.amzn2023.0.1 |
| curl | Chainguard | 8.12.0-r0 |
| curl | Alpine | 8.12.0-r0 |
| libcurl-devel | Amazon Linux | 8.15.0-4.amzn2023.0.1 |
| libcurl-minimal | Amazon Linux | 8.15.0-4.amzn2023.0.1 |
| libcurl | Amazon Linux | 8.15.0-4.amzn2023.0.1 |
| curl-minimal | Amazon Linux | 8.15.0-4.amzn2023.0.1 |
| curl | Wolfi | 8.12.0-r0 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Siemens | 3.3 |
| SCALANCE XRM334 (230 V AC, 12xFO) | Siemens | 3.3 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| SCALANCE XCM332 | Siemens | 3.3 |
17 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| curl | curl | 8.11.1, 8.11.0, 8.10.1 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | SCALANCE XCM328 | 0 |
| Siemens | SCALANCE XRM334 (24 V DC, 8xFO) | 0 |
| Siemens | SCALANCE XCM324 | 0 |
| Siemens | SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 12xFO) | 0 |
| Siemens | SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | SCALANCE XCM332 | 0 |
| Siemens | SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 8xFO) | 0 |
| Siemens | SCALANCE XCH328 | 0 |
| Siemens | SCALANCE XRM334 (24 V DC, 12xFO) | 0 |
| Siemens | SCALANCE XRM334 (230 V AC, 12xFO) | 0 |
| Siemens | SCALANCE XRH334 (24 V DC, 8xFO, CC) | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SCALANCE XRM334 (230 V AC, 8xFO) | 0 |
…and 1 more
Timeline
- Dec 31, 2024 PoC Published (20 in total, the first dated here)
- Feb 5, 2025 Coalition ESS Score (16 in total, the first dated here)
- Feb 5, 2025 CVE Published
- Feb 6, 2025 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory (3 in total, the first dated here)
- Nov 15, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-0167
vulnetix vdb fixes CVE-2025-0167
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-2025-0167/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart