CVE-2024-6104 MEDIUM

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

Vendor Hashicorp
Product Shared library
Weakness CWE-532 · Sensitive info in logs
Published June 24, 2024
Last update August 1, 2024

CVSS base score

6.0/10
Attack vector Local
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 24, 2024 CVE published
August 1, 2024 Record updated