{"id":"CVE-2025-0167","details":"When asked to use a `.netrc` file for credentials **and** to follow HTTP\nredirects, curl could leak the password used for the first host to the\nfollowed-to host under certain circumstances.\n\nThis flaw only manifests itself if the netrc file has a `default` entry that\nomits both login and password. A rare circumstance.","aliases":["CURL-CVE-2025-0167"],"modified":"2026-03-23T05:09:23.953405805Z","published":"2025-02-05T10:15:22.710Z","related":["CGA-v826-97c2-87gj","MGASA-2025-0123","SUSE-SU-2025:0369-1","SUSE-SU-2025:0370-1","SUSE-SU-2025:0371-1","SUSE-SU-2025:0372-1","SUSE-SU-2025:20144-1"],"references":[{"type":"ADVISORY","url":"https://curl.se/docs/CVE-2025-0167.html"},{"type":"ADVISORY","url":"https://curl.se/docs/CVE-2025-0167.json"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250306-0008/"},{"type":"REPORT","url":"https://hackerone.com/reports/2917232"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/curl/curl","events":[{"introduced":"3266b35bbe21c68dea0dc7ccd991eb028e6d360c"},{"fixed":"34cf9d54a46598c44938aa7598820484d7af7133"}],"database_specific":{"versions":[{"introduced":"7.76.0"},{"fixed":"8.12.0"}]}}],"versions":["curl-7_76_0","curl-7_76_1","curl-7_77_0","curl-7_78_0","curl-7_79_0","curl-7_79_1","curl-7_80_0","curl-7_81_0","curl-7_82_0","curl-7_83_0","curl-7_83_1","curl-7_84_0","curl-7_85_0","curl-7_86_0","curl-7_87_0","curl-7_88_0","curl-7_88_1","curl-8_0_0","curl-8_0_1","curl-8_10_0","curl-8_10_1","curl-8_11_0","curl-8_11_1","curl-8_1_0","curl-8_1_1","curl-8_1_2","curl-8_2_0","curl-8_2_1","curl-8_3_0","curl-8_4_0","curl-8_5_0","curl-8_6_0","curl-8_7_0","curl-8_7_1","curl-8_8_0","curl-8_9_0","curl-8_9_1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-0167.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9"}]},{"events":[{"introduced":"0"},{"last_affected":"9"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N"}]}