GO-2024-2947
Leak of sensitive information to log files in github.com/hashicorp/go-retryablehttp
At a glance
- Published
- Updated
- CVE
- CVE-2024-6104
- Aliases
- GHSA-v6v8-xj6m-xwqh
Description
URLs were not sanitized when writing them to log files. This could lead to writing sensitive HTTP basic auth credentials to the log file.
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/hashicorp/go-retryablehttp | introduced 0, fixed 0.7.7 |
References
- https://github.com/advisories/GHSA-v6v8-xj6m-xwqh ADVISORY
- https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a FIX
- https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |