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.
History

Fri, 07 Mar 2025 01:30:00 +0000

Type Values Removed Values Added
References

Thu, 06 Feb 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 3.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 05 Feb 2025 09:30:00 +0000

Type Values Removed Values Added
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.
Title netrc and default credential leak
References

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2025-03-07T00:10:48.290Z

Reserved: 2024-12-31T23:07:29.650Z

Link: CVE-2025-0167

cve-icon Vulnrichment

Updated: 2025-03-07T00:10:48.290Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-02-05T10:15:22.710

Modified: 2025-03-07T01:15:12.110

Link: CVE-2025-0167

cve-icon Redhat

No data.