logo

CVE-2024-6104 github.com/hashicorp/go-retryablehttp

Package

Manager: go
Name: github.com/hashicorp/go-retryablehttp
Vulnerable Version: >=0 <0.7.7

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

EPSS: 0.00045 pctl0.13427

Details

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.

Metadata

Created: 2024-06-24T18:31:37Z
Modified: 2024-06-26T19:31:28Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-v6v8-xj6m-xwqh/GHSA-v6v8-xj6m-xwqh.json
CWE IDs: ["CWE-532"]
Alternative ID: GHSA-v6v8-xj6m-xwqh
Finding: F091
Auto approve: 1