go-retryablehttp can leak basic auth credentials to log files (HashiCorp Shared library)

CVE-2024-6104
MEDIUM 6.0

At a glance

Source
NVD
EPSS
EPSS 0.36 % · percentile 30 ()
State
PUBLISHED
Published
Updated
Assigner
HashiCorp
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-532 — Insertion of Sensitive Information into Log File

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:NHashiCorp
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:NNVD · security@hashicorp.com (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · nvd@nist.gov (Primary)

Advisories

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
HashiCorp · Shared libraryaffected 0 < 0.7.7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD