GHSA-v6v8-xj6m-xwqh

go-retryablehttp can leak basic auth credentials to log files

At a glance

Published
Updated
CVE
CVE-2024-6104
Aliases
GO-2024-2947
CVSS_V3
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.

Affected packages

PackageVersions
Go · github.com/hashicorp/go-retryablehttpintroduced 0, fixed 0.7.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database