go-retryablehttp can leak basic auth credentials to log files
Summary
go-retryablehttp can leak basic auth credentials to log files
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-6104 golang-github-hashicorp-go-retryablehttp
- Ubuntu UBUNTU-CVE-2024-6104 golang-github-hashicorp-go-retryablehttp
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web discuss.hashicorp.com