Security mailing lists by PureSourceCode

CVE-2024-6104

MEDIUM 5.5CVSS 3.1

go-retryablehttp can leak basic auth credentials to log files

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.

Published
24 Jun 2024
Last modified
10 Sep 2026
Assigned by
security@hashicorp.com
NVD status
Modified
Weakness
CWE-532
Also known as
GHSA-v6v8-xj6m-xwqhGO-2024-2947
Sources
NVDJSONOSV GHSA-v6v8-xj6m-xwqhJSONOSV GO-2024-2947JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@hashicorp.com (Secondary) CVSS 3.1 MEDIUM 6.0 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.0 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hashicorp retryablehttp
cpe:2.3:a:hashicorp:retryablehttp:*:*:*:*:*:go:*:*
< 0.7.7 0.7.7
OSV Go github.com/hashicorp/go-retryablehttp < 0.7.7 0.7.7

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 24 Jun 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.