{"cve":"CVE-2024-6104","nvd":{"published":"2024-06-24T17:15:11.087","modified":"2026-06-17T08:17:17.860","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5},"cwes":["CWE-532"],"references":["https://discuss.hashicorp.com/c/security","https://discuss.hashicorp.com/c/security"],"products":["hashicorp:retryablehttp"],"source":"nvd","synced_at":"2026-10-19T21:52:00.836172422+00:00"},"epss":{"cve":"CVE-2024-6104","score":0.00358,"percentile":0.29533,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-v6v8-xj6m-xwqh","url":"https://osv.dev/vulnerability/GHSA-v6v8-xj6m-xwqh","summary":"go-retryablehttp can leak basic auth credentials to log files","modified":"2026-09-10T03:50:15.841452844Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/go-retryablehttp","purl":"pkg:golang/github.com/hashicorp/go-retryablehttp","ranges":["<0.7.7"],"fixed":["0.7.7"]}]},{"id":"GO-2024-2947","url":"https://osv.dev/vulnerability/GO-2024-2947","summary":"Leak of sensitive information to log files in github.com/hashicorp/go-retryablehttp","modified":"2026-02-04T04:30:23.096308Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/go-retryablehttp","purl":"pkg:golang/github.com/hashicorp/go-retryablehttp","ranges":["<0.7.7"],"fixed":["0.7.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}