Skip to content
OpenAdvisories
Low · 3.4 CVE-2024-11053 EUVD-2024-34411GHSA-h288-5fq8-5pfw

netrc and redirect credential leak

Published Dec 11, 2024 · Updated Oct 15, 2026 · Assigned by curl

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 products

VendorProductAffectedFixed
curl curl 8.11.0 – ≤ 8.11.0, 8.10.1 – ≤ 8.10.1, 8.10.0 – ≤ 8.10.0, 8.9.1 – ≤ 8.9.1, 8.9.0 – ≤ 8.9.0, 8.8.0 – ≤ 8.8.0, 8.7.1 – ≤ 8.7.1, 8.7.0 – ≤ 8.7.0, 8.6.0 – ≤ 8.6.0, 8.5.0 – ≤ 8.5.0, 8.4.0 – ≤ 8.4.0, 8.3.0 – ≤ 8.3.0, 8.2.1 – ≤ 8.2.1, 8.2.0 – ≤ 8.2.0, 8.1.2 – ≤ 8.1.2, 8.1.1 – ≤ 8.1.1, 8.1.0 – ≤ 8.1.0, 8.0.… —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 8.11.1-1 —
Debian 13 curl 8.11.1-1 —
Debian 12 curl 7.88.1-10+deb12u10 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS curl 8.5.0-2ubuntu10.6 USN-7162-1
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.20 USN-7162-1
Ubuntu 20.04 LTS curl 7.68.0-1ubuntu2.25 USN-7162-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS curl 7.58.0-2ubuntu3.24+esm10 —
Ubuntu Pro 16.04 LTS curl 7.47.0-1ubuntu2.19+esm17 —
Ubuntu Pro 14.04 LTS curl 7.35.0-1ubuntu2.20+esm21 —
ReleasePackageFixed inAdvisory
RHEL 9 mysql +6 8.0.41-2.el9_5 RHSA-2025:1671
RHEL 8 mecab +1 0.996-2.module+el8.10.0+22857+7f331edd RHSA-2025:1673
RHEL 8 mecab-ipadic +1 2.7.0.20070801-17.module+el8.10.0+22857+7f331edd RHSA-2025:1673
RHEL 8 mysql +6 8.0.41-1.module+el8.10.0+22857+7f331edd RHSA-2025:1673

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 mysql +6 8.0.41-2.el9_5 ALSA-2025:1671
AlmaLinux 8 mecab +1 0.996-2.module_el8.6.0+3340+d764b636 ALSA-2025:1673
AlmaLinux 8 mecab-ipadic +1 2.7.0.20070801-17.module_el8.10.0+3965+b415b607 ALSA-2025:1673
AlmaLinux 8 mysql +6 8.0.41-1.module_el8.10.0+3965+b415b607 ALSA-2025:1673

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 mysql 8.0.41-2.el9_5 RLSA-2025:1671
Rocky Linux 8 mecab 0.996-2.module+el8.10.0+1676+9b4b6e24 RLSA-2025:1673
Rocky Linux 8 mecab-ipadic 2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83 RLSA-2025:1673
Rocky Linux 8 mysql 8.0.41-1.module+el8.10.0+1937+28fbbc83.0.1 RLSA-2025:1673
ReleasePackageFixed inAdvisory
SLES 15 SP6 curl 8.6.0-150600.4.15.1 SUSE-SU-2024:4288-1
SLES 15 SP5 curl 8.0.1-150400.5.59.1 SUSE-SU-2024:4359-1
SLES 12 SP5 curl 8.0.1-11.101.1 SUSE-SU-2024:4284-2, SUSE-SU-2024:4284-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 6.1 curl 8.12.1-slfo.1.1_1.1 SUSE-SU-2025:20239-1
SLE Micro 6.0 curl 8.6.0-5.1 SUSE-SU-2025:20106-1
SLE Micro 5.5 curl 8.0.1-150400.5.59.1 SUSE-SU-2024:4359-1
SLE Micro 5.4 curl 8.0.1-150400.5.59.1 SUSE-SU-2024:4359-1
SLE Micro 5.3 curl 8.0.1-150400.5.59.1 SUSE-SU-2024:4359-1
SLE Micro 5.2 curl 7.66.0-150200.4.81.1 SUSE-SU-2024:4287-1
SLE Micro 5.1 curl 7.66.0-150200.4.81.1 SUSE-SU-2024:4287-1
SUSE Linux Enterprise Installer Updates 15 SP5 curl 8.0.1-150400.5.59.1 SUSE-SU-2024:4359-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.11.1-1.1 openSUSE-SU-2024:14575-1
openSUSE Leap 15.6 curl 8.6.0-150600.4.15.1 SUSE-SU-2024:4288-1
openSUSE Leap 15.5 curl 8.0.1-150400.5.59.1 SUSE-SU-2024:4359-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.5 curl 8.0.1-150400.5.59.1 SUSE-SU-2024:4359-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.11.1-r0 —
Alpine v3.23 curl 8.11.1-r0 —
Alpine v3.22 curl 8.11.1-r0 —
Alpine v3.21 curl 8.11.1-r0 —
Alpine v3.20 curl 8.11.1-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 8.11.1-r0 —
Alpine v3.18 curl 8.11.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 8.15.0-4.amzn2023.0.1 ALAS2023-2025-1351

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake 3.30.3-3 —
Azure Linux 3 curl 8.11.1-1 —
Azure Linux 3 mysql 8.0.41-1 —
Azure Linux 3 tensorflow 2.16.1-7 —
Azure Linux 2 (CBL-Mariner) cmake 3.21.4-15 —
Azure Linux 2 (CBL-Mariner) curl 8.8.0-4 —
Azure Linux 2 (CBL-Mariner) mysql 8.0.41-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 mysql +6 8.0.41-2.el9_5 ELSA-2025-1671
Oracle Linux 8 mecab +1 0.996-2.module+el8.10.0+90521+d5cc5c65 ELSA-2025-1673
Oracle Linux 8 mecab-ipadic +1 2.7.0.20070801-17.0.1.module+el8.10.0+90521+d5cc5c65 ELSA-2025-1673
Oracle Linux 8 mysql +6 8.0.41-1.module+el8.10.0+90521+d5cc5c65 ELSA-2025-1673

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling curl 8.11.1-r0 —

Advisories 36

References