← Back
UBUNTU-CVE-2024-6104
Vulnerability in golang-github-hashicorp-go-retryablehttp (UBUNTU-CVE-2024-6104)
Summary
vulnerability in golang-github-hashicorp-go-retryablehttp (UBUNTU-CVE-2024-6104). Confidential information can be exposed externally.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **UBUNTU-CVE-2024-6104** has been found in golang-github-hashicorp-go-retryablehttp.
Confidential information can be exposed externally. CVSS score: ?/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "golang-github-hashicorp-go-retryablehttp UBUNTU-CVE-2024-6104" on the vendor's site.
UBUNTU-CVE-2024-6104 (golang-github-hashicorp-go-retryablehttp) —
Attack vector: local / no user interaction
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (unclassified) exists in golang-github-hashicorp-go-retryablehttp.
📍 Affected scope
golang-github-hashicorp-go-retryablehttp — .
🔥 Severity
Severity: ?. Confidential information can be exposed externally
🔧 How to fix
Update to the patched release per vendor advisory.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'golang-github-hashicorp-go-retryablehttp' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'golang-github-hashicorp-go-retryablehttp' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `golang-github-hashicorp-go-retryablehttp` を grep し、稼働しているサービス・バージョンを把握する。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
Ubuntu:18.04:LTS
golang-github-hashicorp-go-retryablehttp
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:20.04:LTS
golang-github-hashicorp-go-retryablehttp
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:22.04:LTS
golang-github-hashicorp-go-retryablehttp
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:24.04:LTS
golang-github-hashicorp-go-retryablehttp
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:25.10
golang-github-hashicorp-go-retryablehttp
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:26.04:LTS
golang-github-hashicorp-go-retryablehttp
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
References
- report https://ubuntu.com/security/CVE-2024-6104
- report https://www.cve.org/CVERecord?id=CVE-2024-6104
- report https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027
- report https://github.com/hashicorp/go-retryablehttp/pull/158
- report https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a