CVE-2024-6104
Terraform Community vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2024-6104) affects go-retryablehttp prior to version 0.7.7. The package did not sanitize URLs when writing them to its log file, which could lead to sensitive HTTP basic auth credentials being exposed in log files (NVD).

Technical details

The vulnerability stems from a lack of input sanitization in go-retryablehttp's logging functionality. When URLs containing basic authentication credentials are processed, the package writes these URLs directly to log files without properly sanitizing the sensitive information. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N by NIST, and a score of 6.0 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N by HashiCorp (NVD).

Impact

The vulnerability could result in the exposure of sensitive authentication credentials through log files. When basic authentication is used in URLs processed by the package, these credentials could be written to log files in plaintext, potentially allowing unauthorized access to sensitive information (NVD).

Mitigation and workarounds

The vulnerability has been fixed in go-retryablehttp version 0.7.7. Users are advised to upgrade to this version or later to address the security issue. The fix includes proper URL sanitization before writing to log files (NVD).

Additional resources


SourceThis report was generated using AI

Related Terraform Community vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61729HIGH7.5
  • cAdvisorcAdvisor
  • nrdot-collector-k8s
NoYesDec 02, 2025
CVE-2025-61725HIGH7.5
  • cAdvisorcAdvisor
  • prometheus-postgres-exporter
NoYesOct 29, 2025
CVE-2025-61727MEDIUM6.5
  • cAdvisorcAdvisor
  • k6-fips
NoYesDec 03, 2025
CVE-2025-58181MEDIUM5.3
  • cAdvisorcAdvisor
  • secrets-store-csi-driver-fips
NoYesNov 19, 2025
CVE-2025-47914MEDIUM5.3
  • cAdvisorcAdvisor
  • kube-state-metrics-fips
NoYesNov 19, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management