CVE-2024-6104: Golang github hashicorp go retryablehttp: go-retryablehttp prior to 0.7.7 did not sanitize urls when
Affects golang-github-hashicorp-go-retryablehttpSource GCVE Database
Not known to be exploited · CVSS 6.0 Medium · fixed in 0.7.7 : update golang-github-hashicorp-go-retryablehttp when convenient.
Data as of 24 Nov 2026, 19:25 UTC
- Patch
- Available – fixed in 0.7.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10golang-github-hashicorp-go-retryablehttppkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-github-hashicorp-go-retryablehttppkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-github-hashicorp-go-retryablehttppkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgolang-github-hashicorp-go-retryablehttppkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSgolang-github-hashicorp-go-retryablehttppkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSgolang-github-hashicorp-go-retryablehttppkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-6104 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-6104 (opens in a new tab)
- discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027 (opens in a new tab)
- github.com/hashicorp/go-retryablehttp/pull/158 (opens in a new tab)
- github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a (opens in a new tab)