NetSight
medium6.0

CVE-2024-6104

go-retryablehttp can leak basic auth credentials to log files

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/hashicorp/go-retryablehttp< 0.7.70.7.7

Affected products

VendorProductAffected versions
HashicorpRetryablehttp
before 0.7.7

Weakness classification

References