Vulnerability · Published Dec 11, 2024 · Assigned by curl

CVE-2024-11053netrc and redirect credential leak

Low 3.4

In plain English

A low-severity security flaw in curl from curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.4Low
Exploit odds (30 days)2.0%top 19.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8mecab0.996-2.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:8mecab0.996-2.module_el8.6.0+3340+d764b636ALSA-2025:1673
AlmaLinux:8mecab-devel0.996-2.module_el8.6.0+3340+d764b636ALSA-2025:1673
AlmaLinux:8mecab-devel0.996-2.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:8mecab-ipadic2.7.0.20070801-17.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:8mecab-ipadic-EUCJP2.7.0.20070801-17.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:8mysql8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-common8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-common8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-devel8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-devel8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-errmsg8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-errmsg8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-libs8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-libs8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-server8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-server8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-test8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-test8.0.41-2.el9_5ALSA-2025:1671
Alpine:v3.20curl8.11.1-r0ALPINE-CVE-2024-11053
Alpine:v3.21curl8.11.1-r0ALPINE-CVE-2024-11053
Alpine:v3.22curl8.11.1-r0ALPINE-CVE-2024-11053
Alpine:v3.23curl8.11.1-r0ALPINE-CVE-2024-11053
Alpine:v3.24curl8.11.1-r0ALPINE-CVE-2024-11053
Debian:12curl7.88.1-10+deb12u10DEBIAN-CVE-2024-11053
Debian:13curl8.11.1-1DEBIAN-CVE-2024-11053
Debian:14curl8.11.1-1DEBIAN-CVE-2024-11053
Rocky Linux:8mecab0:0.996-2.module+el8.10.0+1676+9b4b6e24RLSA-2025:1673
Rocky Linux:8mecab-ipadic0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83RLSA-2025:1673
Rocky Linux:8mysql0:8.0.41-1.module+el8.10.0+1937+28fbbc83.0.1RLSA-2025:1673
Rocky Linux:9mysql0:8.0.41-2.el9_5RLSA-2025:1671
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.20USN-7162-1
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.20UBUNTU-CVE-2024-11053
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.6USN-7162-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.6UBUNTU-CVE-2024-11053

Affected products (as reported)

VendorProductVersions
curl curl 8.11.0 – through 8.11.08.10.1 – through 8.10.18.10.0 – through 8.10.08.9.1 – through 8.9.18.9.0 – through 8.9.08.8.0 – through 8.8.08.7.1 – through 8.7.18.7.0 – through 8.7.0

References