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

CVE-2024-6104
MEDIUM 6.0

En bref

Source
NVD
EPSS
EPSS 0.36 % · centile 30 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
HashiCorp
Statut NVD
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.

Faiblesses (CWE)

  • CWE-532 — Informations sensibles insérées dans un fichier de journal

Références

Scores

VersionScoreVecteurÉvalué par
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)

Avis

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
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