Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS12NnY4LXhqNm0teHdxaM4AA9UK
go-retryablehttp can leak basic auth credentials to log files
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.
Permalink: https://github.com/advisories/GHSA-v6v8-xj6m-xwqhJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12NnY4LXhqNm0teHdxaM4AA9UK
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 5 months ago
Updated: 5 months ago
CVSS Score: 6.0
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Identifiers: GHSA-v6v8-xj6m-xwqh, CVE-2024-6104
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-6104
- https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a
- https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027
- https://github.com/advisories/GHSA-v6v8-xj6m-xwqh
- https://discuss.hashicorp.com/c/security
Blast Radius: 27.2
Affected Packages
go:github.com/hashicorp/go-retryablehttp
Dependent packages: 10,318Dependent repositories: 34,302
Downloads:
Affected Version Ranges: < 0.7.7
Fixed in: 0.7.7
All affected versions: 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6
All unaffected versions: 0.7.7