| { |
| "schema_version": "1.3.1", |
| "id": "GO-2024-2947", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2024-6104", |
| "GHSA-v6v8-xj6m-xwqh" |
| ], |
| "summary": "Leak of sensitive information to log files in github.com/hashicorp/go-retryablehttp", |
| "details": "URLs were not sanitized when writing them to log files. This could lead to writing sensitive HTTP basic auth credentials to the log file.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/hashicorp/go-retryablehttp", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "0.7.7" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/hashicorp/go-retryablehttp", |
| "symbols": [ |
| "Client.Do", |
| "Client.Get", |
| "Client.Head", |
| "Client.Post", |
| "Client.PostForm", |
| "Get", |
| "Head", |
| "Post", |
| "PostForm", |
| "RoundTripper.RoundTrip" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "ADVISORY", |
| "url": "https://github.com/advisories/GHSA-v6v8-xj6m-xwqh" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2024-2947", |
| "review_status": "REVIEWED" |
| } |
| } |