GHSA-v6v8-xj6m-xwqh

Suggest an improvement
Source
https://github.com/advisories/GHSA-v6v8-xj6m-xwqh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-v6v8-xj6m-xwqh/GHSA-v6v8-xj6m-xwqh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v6v8-xj6m-xwqh
Aliases
Related
Published
2024-06-24T18:31:37Z
Modified
2024-07-15T22:12:28.927250Z
Severity
  • 6.0 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2024-06-24T17:15:11Z",
    "cwe_ids": [
        "CWE-532"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-06-24T21:32:07Z"
}
References

Affected packages

Go / github.com/hashicorp/go-retryablehttp

Package

Name
github.com/hashicorp/go-retryablehttp
View open source insights on deps.dev
Purl
pkg:golang/github.com/hashicorp/go-retryablehttp

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.7