cve.bz

CVE-2024-6104 hashicorp retryablehttp

5.5 mediumEPSS 0.4%Fix available

Medium (5.5) in hashicorp retryablehttp. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/hashicorp/go-retryablehttp 0.7.7.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-06-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-532 Insertion of Sensitive Information into Log File
OWASP Top 10
A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-6104 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-6104?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-6104?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-6104 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
HashiCorp Shared librarybefore 0.7.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v6v8-xj6m-xwqhGogithub.com/hashicorp/go-retryablehttp<0.7.70.7.7
GO-2024-2947Gogithub.com/hashicorp/go-retryablehttp<0.7.70.7.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-github-hashicorp-go-retryablehttpno fix listedDEBIAN-CVE-2024-6104
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moregolang-github-hashicorp-go-retryablehttpno fix listedUBUNTU-CVE-2024-6104
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.0-1.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.8-4.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-2.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-5.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-82.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-5.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.14.3-2.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.13-1.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.4.0-2.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamnetavark2:1.10.3-1.module+el8.10.0+22202+761b9a65RHSA-2024:5258
54 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morepodman4.9.5-150300.9.43.1SUSE-SU-2025:0775-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morepodman4.9.5-150300.9.46.1SUSE-SU-2025:1036-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morepodman4.9.5-150300.9.49.2SUSE-RU-2025:02092-1
SUSEEnterprise Storage 7.1, Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2podman4.9.5-150300.9.34.1SUSE-SU-2024:3062-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morecosign2.5.0-150400.3.27.1SUSE-SU-2025:1333-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morerekor1.3.10-150400.4.25.1SUSE-SU-2025:1332-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morepodman4.9.5-150400.4.44.1SUSE-SU-2025:1037-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morepodman4.9.5-150400.4.47.2SUSE-RU-2025:02091-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 4 morepodman4.9.5-150500.3.43.2SUSE-RU-2025:02093-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 3 morepodman4.9.5-150500.3.40.1SUSE-SU-2025:1038-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4podman4.9.5-150400.4.30.1SUSE-SU-2024:2273-1 SUSE-SU-2024:2273-2
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4podman4.9.5-150400.4.38.1SUSE-SU-2025:0579-1
23 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5gh2.53.0-bp155.2.12.1openSUSE-SU-2024:0227-1
openSUSELeap 15.5, Leap 15.6golang-github-prometheus-prometheus2.45.6-150100.4.20.1SUSE-SU-2024:3288-1
openSUSELeap 15.5, Leap 15.6podman4.9.5-150500.3.15.1SUSE-SU-2024:2286-1
openSUSELeap 15.5, Leap 15.6spacecmd5.0.9-150000.3.124.1SUSE-SU-2024:3267-1
openSUSELeap 15.5, Leap 15.6, Leap Micro 5.5podman4.9.5-150500.3.18.1SUSE-SU-2024:3546-1
openSUSELeap 15.6cosign2.5.0-150400.3.27.1SUSE-SU-2025:1333-1
openSUSELeap 15.6gh2.53.0-bp156.2.6.1openSUSE-SU-2024:0226-1
openSUSELeap 15.6podman4.9.5-150500.3.34.2SUSE-SU-2025:0458-1
openSUSELeap 15.6podman4.9.5-150500.3.40.1SUSE-SU-2025:1038-1
openSUSELeap 15.6podman4.9.5-150500.3.43.2SUSE-RU-2025:02093-1
openSUSELeap 15.6rekor1.3.10-150400.4.25.1SUSE-SU-2025:1332-1
openSUSELeap 15.6skopeo1.14.4-150300.11.16.1SUSE-SU-2025:0420-1
12 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8aardvark-dns2:1.10.0-1.module_el8.10.0+3792+03eaed9cALSA-2024:5258
AlmaLinux8aardvark-dns2:1.10.0-1.module_el8.10.0+3858+6ad51f9fALSA-2024:5258
AlmaLinux8aardvark-dns2:1.10.0-1.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8buildah, buildah-tests2:1.33.8-4.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8cockpit-podman84.1-1.module_el8.10.0+3858+6ad51f9fALSA-2024:5258
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3845+87b84552ALSA-2024:5258
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3858+6ad51f9fALSA-2024:5258
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8container-selinux2:2.229.0-2.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8containernetworking-plugins1:1.4.0-5.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8containers-common2:1-82.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8crit, criu, criu-libs3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:5258
26 more for AlmaLinux in the JSON.
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8buildah2:1.33.8-4.module+el8.10.0+1843+6892ab28RLSA-2024:5258
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8conmon3:2.1.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8container-selinux2:2.229.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8containernetworking-plugins1:1.4.0-5.module+el8.10.0+1843+6892ab28RLSA-2024:5258
Rocky Linux8containers-common2:1-82.module+el8.10.0+1843+6892ab28RLSA-2024:5258
Rocky Linux8criu0:3.18-5.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8crun0:1.14.3-2.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8fuse-overlayfs0:1.13-1.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8libslirp0:4.4.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8netavark2:1.10.3-1.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
8 more for Rocky Linux in the JSON.
Azure Linux2cert-manager1.11.2-12AZL-42916
Azure Linux2cri-o1.22.3-6AZL-42913
Azure Linux2influxdb2.6.1-15AZL-42936
Azure Linux2keda2.4.0-22AZL-42942
Azure Linux2packer1.9.5-2AZL-42943
Azure Linux2prometheus2.37.0-14AZL-42928
Azure Linux2rook1.6.2-21AZL-42922
Azure Linux2skopeo1.14.2-7AZL-42910
Azure Linux2terraform1.3.2-17AZL-42931
Azure Linux3cert-manager1.12.12-3AZL-42880
Azure Linux3influxdb2.7.3-5AZL-42886
Azure Linux3keda2.14.0-2AZL-42904
4 more for Azure Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/cluster-observability-operator-bundle:0.4.1-18Fixed 2024-10-14RHSA-2024:8040
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/cluster-observability-rhel8-operator:v0.4.1-4Fixed 2024-10-14RHSA-2024:8040
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/coo-admission-webhook-rhel8:v0.77.1-1Fixed 2024-10-14RHSA-2024:8040
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/coo-console-dashboards-plugin-rhel8:v0.2.0-15Fixed 2024-10-14RHSA-2024:8040
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/coo-console-distributed-tracing-plugin-rhel8:v0.1.0-16Fixed 2024-10-14RHSA-2024:8040
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/coo-console-logging-plugin-rhel8:v6.0.0-20Fixed 2024-10-14RHSA-2024:8040
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/coo-console-troubleshooting-panel-plugin-rhel8:v0.1.0-19Fixed 2024-10-14RHSA-2024:8040
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/coo-korrel8r-rhel8:v0.6.3-15Fixed 2024-10-14RHSA-2024:8040
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/coo-prometheus-alertmanager-rhel8:v0.27.0-4Fixed 2024-10-14RHSA-2024:8040
CLUSTER-OBSERVABILITY-OPERATOR-0.4-RHEL-8cluster-observability-operator/coo-prometheus-config-reloader-rhel8:v0.77.1-1Fixed 2024-10-14RHSA-2024:8040
Multicluster Engine for Kubernetesmulticluster-engine/cluster-api-provider-azure-rhel8Not affected
Multicluster Engine for Kubernetesmulticluster-engine/hypershift-cli-rhel9Not affected
OpenShift API for Data Protectionoadp/oadp-kubevirt-velero-plugin-rhel8Will not fix
OpenShift Serverlessopenshift-serverless-clientsAffected
Red Hat Ceph Storage 6rhceph/rhceph-6-dashboard-rhel9Will not fix
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10osbuild-composerNot affected
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 10skopeoNot affected
Red Hat Enterprise Linux 8osbuild-composerAffected
230 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-6104.

Attack patterns (CAPEC)

  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON