{"id":"CVE-2024-6104","aliases":["GHSA-v6v8-xj6m-xwqh","GO-2024-2947"],"url":"https://o3.security/vulnerability/CVE-2024-6104","summary":"go-retryablehttp can leak basic auth credentials to log files","details":"go-retryablehttp prior to 0.7.7 did not sanitize urls when writing them to its log file. This could lead to go-retryablehttp writing sensitive HTTP basic auth credentials to its log file. This vulnerability, CVE-2024-6104, was fixed in go-retryablehttp 0.7.7.","published":"2024-06-24T17:06:21.150Z","modified":"2026-08-27T17:40:57.079919610Z","cvss":{"score":6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/hashicorp/go-retryablehttp","fixedVersion":"0.7.7"}],"fix":{"url":"https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a","label":"hashicorp/go-retryablehttp@a99f07b"},"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/c/security"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6104.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6104"},{"type":"PACKAGE","url":"https://github.com/hashicorp/go-retryablehttp"},{"type":"WEB","url":"https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v6v8-xj6m-xwqh"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T17:40:57.079919610Z"}}