{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-6104","id":"CVE-2024-6104","title":"go-retryablehttp can leak basic auth credentials to log files","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.","descriptionLong":"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.","published":"2024-06-24T17:06:21.150Z","updated":"2026-10-28T02:30:36.884296598Z","reserved":"2024-06-17T22:19:58.680Z","status":"Modified","rejected":false,"assigner":"HashiCorp","metric":{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"HashiCorp"},"metrics":[{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"HashiCorp"},{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"hashicorp.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["HashiCorp Shared library"],"affectedProducts":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"lessThan":"0.7.7","status":"affected","version":"0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]}],"packages":[{"ecosystem":"Go","name":"github.com/hashicorp/go-retryablehttp","purl":"pkg:golang/github.com/hashicorp/go-retryablehttp","ranges":["<0.7.7"],"fixed":["0.7.7"],"advisory":"GHSA-v6v8-xj6m-xwqh"}],"cwes":["CWE-532"],"aliases":["GHSA-v6v8-xj6m-xwqh","GO-2024-2947"],"references":[{"url":"https://discuss.hashicorp.com/c/security","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6104.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6104","tags":["advisory"]},{"url":"https://github.com/hashicorp/go-retryablehttp","tags":["package"]},{"url":"https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a","tags":["web","fix"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v6v8-xj6m-xwqh","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00358,"epssPercentile":0.30154,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6104","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6104","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-6104","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v6v8-xj6m-xwqh","ok":true,"note":"GHSA-v6v8-xj6m-xwqh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6104","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}