Bug 1227038

Summary: VUL-0: CVE-2024-6104: golang-github-prometheus-prometheus: hashicorp/go-retryablehttp: url might write sensitive information to log file
Product: [Novell Products] SUSE Security Incidents Reporter: Carlos López <carlos.lopez>
Component: IncidentsAssignee: monitoring-devel <monitoring-devel>
Status: IN_PROGRESS --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: dmaiocchi, kkaempf, monitoring-devel, opensuse_buildservice, witold.bedyk
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/411992/
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1227024    

Description Carlos López 2024-06-26 09:14:47 UTC
golang-github-prometheus-prometheus embeds hashicorp/go-retryablehttp:

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-6104
https://www.cve.org/CVERecord?id=CVE-2024-6104
https://discuss.hashicorp.com/c/security
https://bugzilla.redhat.com/show_bug.cgi?id=2294000
Comment 1 Witek Bedyk 2024-07-16 07:37:14 UTC
I have patched the package to include hashicorp/go-retryablehttp 0.7.7.

The submissions to SUSE Manager development projects have been requested.

The release is planned on 19.08.2024