{"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-07-15T01:48:59.800243242Z","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":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:59.800243242Z"}}