CVE-2024-6104

go-retryablehttp can leak basic auth credentials to log files

State
Published
Severity
6.0 Medium
Published
Jun 24, 2024
Updated
Aug 1, 2024
Reserved
Jun 17, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:NHashiCorp

Weaknesses

  • CWE-532 Insertion of Sensitive Information into Log File

Affected Products

ProductVersions
Shared libraryHashiCorp
  • before 0.7.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.