What’s Vulnerable › Vulnerabilities
CVE-2024-6104: go-retryablehttp can leak basic auth credentials to log files
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-06-24 · updated 2026-06-17
- Weakness: CWE-532
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.
Affected products
- HashiCorp Retryablehttp: before 0.7.7 — fixed in 0.7.7
How to fix
Upgrade to a fixed version: HashiCorp Retryablehttp 0.7.7. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-6104 or the next vulnerability affects your stack