VDB

CVE-2025-0167

CVE-2025-0167 PUBLISHED CVSS 3.4 LOW

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.

PackageEcosystemFixed in
curlAmazon Linux8.15.0-4.amzn2023.0.1
curlChainguard8.12.0-r0
curlAlpine8.12.0-r0
libcurl-develAmazon Linux8.15.0-4.amzn2023.0.1
libcurl-minimalAmazon Linux8.15.0-4.amzn2023.0.1
libcurlAmazon Linux8.15.0-4.amzn2023.0.1
curl-minimalAmazon Linux8.15.0-4.amzn2023.0.1
curlWolfi8.12.0-r0
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familySiemens3.3
SCALANCE XRM334 (230 V AC, 12xFO)Siemens3.3
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5
SCALANCE XCM332Siemens3.3

17 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
3.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N

Affected products

VendorProductVersions
curlcurl8.11.1, 8.11.0, 8.10.1
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
SiemensSCALANCE XCM3280
SiemensSCALANCE XRM334 (24 V DC, 8xFO)0
SiemensSCALANCE XCM3240
SiemensSCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSCALANCE XRM334 (2x230 V AC, 12xFO)0
SiemensSCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSCALANCE XCM3320
SiemensSCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)0
SiemensRUGGEDCOM RST2428P0
SiemensSCALANCE XRM334 (2x230 V AC, 8xFO)0
SiemensSCALANCE XCH3280
SiemensSCALANCE XRM334 (24 V DC, 12xFO)0
SiemensSCALANCE XRM334 (230 V AC, 12xFO)0
SiemensSCALANCE XRH334 (24 V DC, 8xFO, CC)0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSCALANCE 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›