Advisory

GHSA-v6v8-xj6m-xwqh

Also known as: CVE-2024-6104, GO-2024-2947

Summary

go-retryablehttp can leak basic auth credentials to log files

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-24 18:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/hashicorp/go-retryablehttp

Go · All systems

Affected

  • introduced 0, fixed 0.7.7 (semver)

Fixed versions

0.7.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences