NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-6104: go-retryablehttp can leak basic auth credentials to log files

mediumCVSS 3.1 6.0GHSA-v6v8-xj6m-xwqh

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.

Published Jun 24, 2024 · Updated Jun 26, 2024

Affected packages

github.com/hashicorp/go-retryablehttp

Ecosystem
Go
Affected
< 0.7.7
Fixed in
0.7.7
Check
go list -m github.com/hashicorp/go-retryablehttp

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology