CVE-2025-0167: netrc and default credential leak

Published Feb 5, 2025
·
Updated

netrc and default credential leak

Other sources

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.

MITRE

Affected Software

30 affected componentsFixes available
curl curl
haxx curl>=7.76.0<8.12.0
NetApp Element Software
NetApp Ontap=9
NetApp ONTAP Select Deploy administration utility
NetApp Ontap Tools Vmware Vsphere=9
NetApp Solidfire \& Hci Management Node
NetApp Solidfire \& Hci Storage Node
All of the following
NetApp Bootstrap Os
NetApp Hci Compute Node
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H610c Firmware
NetApp H610c
All of the following
NetApp H610s Firmware
NetApp H610s
All of the following
NetApp H615c Firmware
NetApp H615c
All of the following
NetApp H700s Firmware
NetApp H700s
Microsoft cbl2 cmake 3.21.4-18
Microsoft cbl2 curl 8.8.0-6<8.8.0-6
8.8.0-6
Microsoft azl3 cmake 3.30.3-6
Microsoft azl3 curl 8.11.1-3<8.11.1-3
8.11.1-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.8.0-6
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.11.1-3

Event History

Feb 5, 2025
CVE Published
via MITRE·09:15 AM
Data Sourced
via MITRE·09:15 AM
DescriptionWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityAffected Software
Mar 13, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-0167?

CVE-2025-0167 is considered a medium severity vulnerability due to the potential leakage of sensitive credentials.

2

How do I fix CVE-2025-0167?

To fix CVE-2025-0167, ensure that the `.netrc` file does not have a `default` entry that omits both the login and password.

3

Who is affected by CVE-2025-0167?

CVE-2025-0167 affects users of the curl tool when configured to use a `.netrc` file for credentials while following HTTP redirects.

4

What are the consequences of CVE-2025-0167?

The consequence of CVE-2025-0167 is that passwords used for one host may be inadvertently sent to a different host during HTTP redirects.

5

When was CVE-2025-0167 disclosed?

CVE-2025-0167 was disclosed in 2025 as part of ongoing security assessments for the curl tool.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203