CVE-2024-11053 netrc and redirect credential leak

Low 3.4 Published Updated

curl may leak netrc passwords to redirect targets if netrc entries are incomplete, exposing credentials to unintended hosts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-11053?

CVE-2024-11053 is a low-severity vulnerability in Haxx Curl, published on 11 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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 has an entry that matches the redirect target hostname but the entry either omits just the password or omits both login and password.

Which versions are affected by CVE-2024-11053?

It affects 11 products.

Linux distribution packages (15)
curl SUSE:Linux Enterprise Installer Updates 15 SP5All versions8.0.1-150400.5.59.1
curl SUSE:Linux Enterprise Micro 5.1All versions7.66.0-150200.4.81.1
curl SUSE:Linux Enterprise Micro 5.2All versions7.66.0-150200.4.81.1
curl SUSE:Linux Enterprise Micro 5.3All versions8.0.1-150400.5.59.1
curl SUSE:Linux Enterprise Micro 5.4All versions8.0.1-150400.5.59.1
curl SUSE:Linux Enterprise Micro 5.5All versions8.0.1-150400.5.59.1
curl SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions8.0.1-150400.5.59.1
curl SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions8.6.0-150600.4.15.1
curl SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions8.0.1-11.101.1
curl SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions8.0.1-11.101.1
curl SUSE:Linux Micro 6.0All versions8.6.0-5.1
curl openSUSE:Leap 15.5All versions8.0.1-150400.5.59.1
curl openSUSE:Leap 15.6All versions8.6.0-150600.4.15.1
curl openSUSE:Leap Micro 5.5All versions8.0.1-150400.5.59.1
curl openSUSE:TumbleweedAll versions8.11.1-1.1

Products include Haxx Curl, Netapp Bootstrap Os, Netapp H300s Firmware, Netapp H410s Firmware, Netapp H500s Firmware, Netapp H610c Firmware and 5 more.

How do I fix CVE-2024-11053?

Upgrade to a fixed version.

Is CVE-2024-11053 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11053 exists.

All Haxx Curl vulnerabilities

Sources

Also known as ALPINE-CVE-2024-11053, AZL-54147, AZL-54155, AZL-54212, AZL-54219, AZL-54221 and 25 more.

Is CVE-2024-11053 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free