{"id":"CVE-2024-6104","state":"PUBLISHED","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.","publishedAt":"2024-06-24T17:06:21.150Z","updatedAt":"2024-08-01T21:33:04.395Z","severity":{"score":6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","source":"HashiCorp"},"assigner":"HashiCorp","products":["HashiCorp Shared library"],"affected":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.7.7","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/go-retryablehttp"}],"references":["https://discuss.hashicorp.com/c/security"],"weaknesses":["CWE-532"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6104.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-6104","state":"PUBLISHED","datePublished":"2024-06-24T17:06:21.150Z","dateUpdated":"2024-08-01T21:33:04.395Z","assignerShortName":"HashiCorp","assignerOrgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateReserved":"2024-06-17T22:19:58.680Z"},"containers":{"cna":{"title":"go-retryablehttp can leak basic auth credentials to log files","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.7.7","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/go-retryablehttp"}],"references":[{"url":"https://discuss.hashicorp.com/c/security"}],"metrics":[{"cvssV3_1":{"baseScore":6,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","description":"CWE-532: Insertion of Sensitive Information into Log File","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"HashiCorp","orgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateUpdated":"2024-06-24T17:06:21.150Z"},"impacts":[{"capecId":"CAPEC-118","descriptions":[{"lang":"en","value":"CAPEC-118: Collect and Analyze Information"}]}],"source":{"advisory":"HCSEC-2024-12","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-24T19:19:22.878144Z","id":"CVE-2024-6104","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-24T19:19:28.773Z"}},{"title":"CVE Program Container","references":[{"url":"https://discuss.hashicorp.com/c/security","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T21:33:04.395Z"}}]}}}