GitHub Advisoryadvisory · Go

GHSA-v6v8-xj6m-xwqh go-retryablehttp can leak basic auth credentials to log files

MEDIUM Published 2024-06-24 Modified 2024-06-26 Official page ↗
Aliases
CVE-2024-6104
Ecosystem
Go
Packages
github.com/hashicorp/go-retryablehttp
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-532
Reviewed
2024-06-24

Affected packages

• Go github.com/hashicorp/go-retryablehttp: < 0.7.7 → fixed in 0.7.7

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-6104 go-retryablehttp prior to 0.7.7 did not sanitize urls when writing them to its log file. vulnerability

Weakness · CWE (1)

  • CWE-532 Insertion of Sensitive Information into Log File weakness

References