CVE-2024-11053: netrc and redirect credential leak

Published Dec 9, 2024
·
Updated

Last updated 10 July 2026

Other sources

When asked to both 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 matches the redirect target hostname, but the entry omits password or both login & password.

A curl transfer with a.com that redirects to b.com that uses a .netrc like below (with a match, but no password specified for the second host), would make curl pass on alicespassword as password even in the second transfer to the separate host b.com.

~~~ machine a.com login alice password alicespassword

default login bob ~~~

Red Hat

When asked to both 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.

Launchpad

Affected Software

20 affected componentsFixes available
haxx curl>=7.76.0<8.11.1
NetApp Ontap=9
NetApp ONTAP Select Deploy administration utility
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
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 H410s Firmware
NetApp H410s
All of the following
NetApp H500s Firmware
NetApp H500s
debian/curl<=7.88.1-10+deb12u5
7.74.0-1.3+deb11u137.74.0-1.3+deb11u167.88.1-10+deb12u148.14.1-2+deb13u38.20.0-58.21.0-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.74.0-1.3+deb11u13Fixed in 7.74.0-1.3+deb11u16Fixed in 7.88.1-10+deb12u14Fixed in 8.14.1-2+deb13u3Fixed in 8.20.0-5Fixed in 8.21.0-2

Event History

Dec 9, 2024
Data Sourced
via Red Hat·05:31 PM
DescriptionSeverityAffected Software
Dec 11, 2024
CVE Published
via MITRE·07:34 AM
Data Sourced
via MITRE·07:34 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityAffected Software
Feb 4, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jul 9, 2026
Data Sourced
via Debian·09:52 PM
DescriptionAffected Software
Data Sourced
via Launchpad·09:52 PM
Description
Jul 11, 2026
Data Sourced
via Ubuntu·09:54 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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-2024-11053?

CVE-2024-11053 has been classified as a medium severity vulnerability due to the potential for credential leakage.

2

How do I fix CVE-2024-11053?

To mitigate CVE-2024-11053, upgrade curl to version 8.11.1-1 or later.

3

What are the affected versions of curl for CVE-2024-11053?

CVE-2024-11053 affects curl versions up to and including 7.88.1-10+deb12u8 and specific releases in the 7.74.x series.

4

Can CVE-2024-11053 lead to unauthorized access?

Yes, CVE-2024-11053 can lead to unauthorized access by leaking the password from a .netrc file to unintended hosts.

5

Is CVE-2024-11053 specific to a particular operating system?

CVE-2024-11053 primarily affects the Debian distribution of curl, but similar configurations may exist in other operating systems.

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