Medium severity · published Jun 24, 2024
CVE-2024-6104
go-retryablehttp can leak basic auth credentials to log files
5.5
CVSS
0.4%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 29% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SL
Shared library · HashiCorp
before 0.7.7 · source: vendor
RE
Retryablehttp · Hashicorp
before 0.7.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-6104
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-6104
Vendor Advisory
https://discuss.hashicorp.com/c/security
More from Shared library
9.8
CVE-2024-3817
HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches
9.1
CVE-2025-0377
HashiCorp go-slug Vulnerable to Zip Slip Attack
8.8
CVE-2026-0969
Arbitrary code execution in React server-side rendering of untrusted MDX content
8.8
CVE-2024-6257
HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation
7.5
CVE-2025-8959
HashiCorp go-getter Vulnerable to Arbitrary Read through Symlink Attack
