Ubuntu CVE Tracker
UBUNTU-CVE-2024-6104
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:18.04:LTS | golang-github-hashicorp-go-retryablehttp | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-github-hashicorp-go-retryablehttp | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-github-hashicorp-go-retryablehttp | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-github-hashicorp-go-retryablehttp | All versions, no fix listed |
| Ubuntu:25.10 | golang-github-hashicorp-go-retryablehttp | All versions, no fix listed |
| Ubuntu:26.10 | golang-github-hashicorp-go-retryablehttp | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-github-hashicorp-go-retryablehttp | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2024-6104
- https://www.cve.org/CVERecord?id=CVE-2024-6104
- https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027
- https://github.com/hashicorp/go-retryablehttp/pull/158
- https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a