hashicorp/go-retryablehttp · Security

go-retryablehttp can leak basic auth credentials to log files

GHSA ID
GHSA-v6v8-xj6m-xwqh
CVE ID
CVE-2024-6104
Severity
medium
Published
Updated
CVSS
6 · CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
CVSS v3
6 · CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

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.

CWEs

References