What’s Vulnerable › Vulnerabilities

CVE-2024-11053: netrc and redirect credential leak

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

How to fix

Upgrade to a fixed version: curl 8.11.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-11053 or the next vulnerability affects your stack