When asked to use a `.netrc` file for credentials **and**...
Low severity
Unreviewed
Published
Feb 5, 2025
to the GitHub Advisory Database
•
Updated Feb 6, 2025
Description
Published by the National Vulnerability Database
Feb 5, 2025
Published to the GitHub Advisory Database
Feb 5, 2025
Last updated
Feb 6, 2025
When asked to use a
.netrc
file for credentials and to follow HTTPredirects, 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 a
default
entry thatomits both login and password. A rare circumstance.
References