netrc and default credential leak
Summary
| CVE | CVE-2025-0167 |
|---|---|
| State | PUBLISHED |
| Assigner | curl |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-02-05 10:15:22 UTC |
| Updated | 2026-10-15 02:17:21 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 3.4 LOW from ADP
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
Problem Types: NVD-CWE-noinfo | CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 3.4 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 3.4 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Haxx | Curl | All | All | All | All |
| Operating System | Netapp | Bootstrap Os | - | All | All | All |
| Application | Netapp | Element Software | - | All | All | All |
| Hardware | Netapp | H300s | - | All | All | All |
| Operating System | Netapp | H300s Firmware | - | All | All | All |
| Hardware | Netapp | H410c | - | All | All | All |
| Operating System | Netapp | H410c Firmware | - | All | All | All |
| Hardware | Netapp | H410s | - | All | All | All |
| Operating System | Netapp | H410s Firmware | - | All | All | All |
| Hardware | Netapp | H500s | - | All | All | All |
| Operating System | Netapp | H500s Firmware | - | All | All | All |
| Hardware | Netapp | H610c | - | All | All | All |
| Operating System | Netapp | H610c Firmware | - | All | All | All |
| Hardware | Netapp | H610s | - | All | All | All |
| Operating System | Netapp | H610s Firmware | - | All | All | All |
| Hardware | Netapp | H615c | - | All | All | All |
| Operating System | Netapp | H615c Firmware | - | All | All | All |
| Hardware | Netapp | H700s | - | All | All | All |
| Operating System | Netapp | H700s Firmware | - | All | All | All |
| Hardware | Netapp | Hci Compute Node | - | All | All | All |
| Application | Netapp | Ontap | 9 | All | All | All |
| Application | Netapp | Ontap Select Deploy Administration Utility | - | All | All | All |
| Application | Netapp | Ontap Tools | 9 | All | All | All |
| Application | Netapp | Solidfire Hci Management Node | - | All | All | All |
| Application | Netapp | Solidfire Hci Storage Node | - | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Curl | Curl | affected 8.11.1 8.11.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.11.0 8.11.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.10.1 8.10.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.10.0 8.10.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.9.1 8.9.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.9.0 8.9.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.8.0 8.8.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.7.1 8.7.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.7.0 8.7.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.6.0 8.6.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.5.0 8.5.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.4.0 8.4.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.3.0 8.3.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.2.1 8.2.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.2.0 8.2.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.1.2 8.1.2 semver | Not specified |
| CNA | Curl | Curl | affected 8.1.1 8.1.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.1.0 8.1.0 semver | Not specified |
| CNA | Curl | Curl | affected 8.0.1 8.0.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.0.0 8.0.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.88.1 7.88.1 semver | Not specified |
| CNA | Curl | Curl | affected 7.88.0 7.88.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.87.0 7.87.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.86.0 7.86.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.85.0 7.85.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.84.0 7.84.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.83.1 7.83.1 semver | Not specified |
| CNA | Curl | Curl | affected 7.83.0 7.83.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.82.0 7.82.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.81.0 7.81.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.80.0 7.80.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.79.1 7.79.1 semver | Not specified |
| CNA | Curl | Curl | affected 7.79.0 7.79.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.78.0 7.78.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.77.0 7.77.0 semver | Not specified |
| CNA | Curl | Curl | affected 7.76.1 7.76.1 semver | Not specified |
| CNA | Curl | Curl | affected 7.76.0 7.76.0 semver | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XCH328 | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XCM324 | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XCM328 | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XCM332 | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRH334 24 V DC 8xFO CC | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 230 V AC 12xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 230 V AC 8xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 230V AC 2x10G 24xSFP 8xSFP | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 24 V DC 12xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 24 V DC 8xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 24V DC 2x10G 24xSFP 8xSFP | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 2x230 V AC 12xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 2x230 V AC 8xFO | affected V3.3 custom | Not specified |
| ADP | Siemens | SCALANCE XRM334 2x230V AC 2x10G 24xSFP 8xSFP | affected V3.3 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| cert-portal.siemens.com/productcert/html/ssa-089022.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| curl.se/docs/CVE-2025-0167.html | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | curl.se | Vendor Advisory |
| hackerone.com/reports/2917232 | 2499f714-1537-4658-8207-48ae4bb9eae9 | hackerone.com | Exploit, Issue Tracking, Third Party Advisory |
| security.netapp.com/advisory/ntap-20250306-0008 | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| curl.se/docs/CVE-2025-0167.json | 2499f714-1537-4658-8207-48ae4bb9eae9 | curl.se | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Yihang Zhou (en)
CNA: Daniel Stenberg (en)
There are currently no legacy QID mappings associated with this CVE.