CVE-2024-6104 go-retryablehttp can leak basic auth credentials to log files
MediumCVSS 5.5
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
12 packages: 5 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-hashicorp-go-retryablehttp(Debian 12) | = 0.7.1-1; All versions | No fix listed | No fix yet |
| debian/golang-github-hashicorp-go-retryablehttp(Debian 13) | = 0.7.1-1; All versions | No fix listed | No fix yet |
| debian/golang-github-hashicorp-go-retryablehttp(Debian 14) | = 0.7.1-1; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-hashicorp-go-retryablehttp(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-hashicorp-go-retryablehttp(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-hashicorp-go-retryablehttp(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-hashicorp-go-retryablehttp(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| hashicorp github.com/hashicorp/go-retryablehttp(Go) | < 0.7.7 | 0.7.7 | Fixed |
| hashicorp retryablehttp | < 0.7.7 | 0.7.7 | Fixed |
| hashicorp Shared library | < 0.7.7 | 0.7.7 | Fixed |
| Microsoft azure linux | < 1.12.12-3; < 2.7.3-5; < 2.14.0-2; < 20240213-2 | 1.12.12-3, 2.7.3-5, 2.14.0-2, 20240213-2 | Fixed |
| Microsoft cbl mariner | < 1.9.5-2; < 1.11.2-13; < 2.4.0-22; < 2.6.1-15 | 1.9.5-2, 1.11.2-13, 2.4.0-22, 2.6.1-15 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/go-retryablehttp(Go) | < 0.7.7 | 0.7.7 |
| Microsoft cbl mariner | < 1.11.2-13 | 1.11.2-13 |
| Microsoft cbl mariner | < 2.6.1-15 | 2.6.1-15 |
| Microsoft cbl mariner | < 2.4.0-22 | 2.4.0-22 |
| Microsoft cbl mariner | < 1.9.5-2 | 1.9.5-2 |
| Microsoft azure linux | < 1.12.12-3 | 1.12.12-3 |
| Microsoft azure linux | < 2.7.3-5 | 2.7.3-5 |
| Microsoft azure linux | < 2.14.0-2 | 2.14.0-2 |
| Microsoft azure linux | < 20240213-2 | 20240213-2 |
| debian/golang-github-hashicorp-go-retryablehttp(Debian:12) | All versions | No fix listed |
| debian/golang-github-hashicorp-go-retryablehttp(Debian:12) | = 0.7.1-1 | No fix listed |
| debian/golang-github-hashicorp-go-retryablehttp(Debian:13) | All versions | No fix listed |
| debian/golang-github-hashicorp-go-retryablehttp(Debian:13) | = 0.7.1-1 | No fix listed |
| debian/golang-github-hashicorp-go-retryablehttp(Debian:14) | All versions | No fix listed |
| debian/golang-github-hashicorp-go-retryablehttp(Debian:14) | = 0.7.1-1 | No fix listed |
| ubuntu/golang-github-hashicorp-go-retryablehttp(Ubuntu:22.04) | All versions | No fix listed |
| hashicorp Shared library | < 0.7.7 | 0.7.7 |
| ubuntu/golang-github-hashicorp-go-retryablehttp(Ubuntu:24.04) | All versions | No fix listed |
| hashicorp retryablehttp | < 0.7.7 | 0.7.7 |
| ubuntu/golang-github-hashicorp-go-retryablehttp(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-hashicorp-go-retryablehttp(Ubuntu:26.10) | All versions | No fix listed |
References
- cert-manager third-party-advisory vendor-advisory
- github.com patch
- discuss.hashicorp.com vendor-advisory
- discuss.hashicorp.com
- github.com vendor-advisory
- github.com product
- MSRC Security Update Guide vendor-advisory
- Debian Security Tracker CVE-2024-6104 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking