CVE-2024-6104
Aliases:GHSA-v6v8-xj6m-xwqhGO-2024-2947
Advisory lineage Upstream: 0 Downstream: 54
Modified
Published: 24 Jun 2024, 17:06
Last modified:01 Aug 2024, 21:33
Vulnerability Summary
Overall Risk (default)
low
24/100 CVSS Score
6 MEDIUM
v3.1 (cve.org)
EPSS Score
0.04% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
24 Jun 2024, 17:06
Published
Vulnerability first disclosed
01 Aug 2024, 21:33
Last Modified
Vulnerability information updated
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 Metrics
- v3.1•MEDIUM•Score: 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Trends
Current EPSS score: 0.04%• Percentile: 14%
Techniques & Countermeasures
- CWE-532•Insertion of Sensitive Information into Log File
The product writes sensitive information to a log file.
Affected Systems
- github.com/hashicorp•go-retryablehttp
< 0.7.7
- hashicorp•retryablehttp
< 0.7.7
- hashicorp•shared library
< 0.7.7
References (6)
- https://discuss.hashicorp.com/c/security
- https://nvd.nist.gov/vuln/detail/CVE-2024-6104
- https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a
- https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027
- https://github.com/advisories/GHSA-v6v8-xj6m-xwqh
- https://github.com/hashicorp/go-retryablehttp