ubuntu-cve-2024-6104
Vulnerability from osv_ubuntu
Published
2024-06-24 17:15
Modified
2026-05-20 15:07
Summary
Details
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
6.0 (Medium)
5.5 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-hashicorp-go-retryablehttp-dev",
"binary_version": "0.0~git20160810.0.f4ed9b0-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-github-hashicorp-go-retryablehttp",
"purl": "pkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp@0.0~git20160810.0.f4ed9b0-2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0~git20160810.0.f4ed9b0-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-hashicorp-go-retryablehttp-dev",
"binary_version": "0.0+git20180718.e651d75-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-github-hashicorp-go-retryablehttp",
"purl": "pkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp@0.0+git20180718.e651d75-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0+git20180718.e651d75-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-hashicorp-go-retryablehttp-dev",
"binary_version": "0.7.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-github-hashicorp-go-retryablehttp",
"purl": "pkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp@0.7.0-1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.6.4-2",
"0.7.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-hashicorp-go-retryablehttp-dev",
"binary_version": "0.7.1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "golang-github-hashicorp-go-retryablehttp",
"purl": "pkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp@0.7.1-1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.7.1-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-hashicorp-go-retryablehttp-dev",
"binary_version": "0.7.1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "golang-github-hashicorp-go-retryablehttp",
"purl": "pkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp@0.7.1-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.7.1-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-hashicorp-go-retryablehttp-dev",
"binary_version": "0.7.1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "golang-github-hashicorp-go-retryablehttp",
"purl": "pkg:deb/ubuntu/golang-github-hashicorp-go-retryablehttp@0.7.1-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.7.1-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2024-6104",
"modified": "2026-05-20T15:07:27Z",
"published": "2024-06-24T17:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-6104"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-6104"
},
{
"type": "REPORT",
"url": "https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027"
},
{
"type": "REPORT",
"url": "https://github.com/hashicorp/go-retryablehttp/pull/158"
},
{
"type": "REPORT",
"url": "https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-6104"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…