CVE-2024-6104

NameCVE-2024-6104
Descriptiongo-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1076773

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-hashicorp-go-retryablehttp (PTS)bullseye0.6.4-2vulnerable
sid, trixie, bookworm0.7.1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-hashicorp-go-retryablehttpsource(unstable)(unfixed)1076773

Notes

[bookworm] - golang-github-hashicorp-go-retryablehttp <no-dsa> (Minor issue)
[bullseye] - golang-github-hashicorp-go-retryablehttp <no-dsa> (Minor issue)
https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027
https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a (v0.7.7)

Search for package or bug name: Reporting problems