Lucene search

K
vulnrichmentHashiCorpVULNRICHMENT:CVE-2024-6104
HistoryJun 24, 2024 - 5:06 p.m.

CVE-2024-6104 go-retryablehttp can leak basic auth credentials to log files

2024-06-2417:06:21
CWE-532
HashiCorp
github.com
8
go-retryablehttp
0.7.7
fix
logs
basic auth
credentials
vulnerability
cve-2024-6104

CVSS3

6

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

9.1%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

CNA Affected

[
  {
    "repo": "https://github.com/hashicorp/go-retryablehttp",
    "vendor": "HashiCorp",
    "product": "Shared library",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.7.7",
        "versionType": "semver"
      }
    ],
    "platforms": [
      "64 bit",
      "32 bit",
      "x86",
      "ARM",
      "MacOS",
      "Windows",
      "Linux"
    ],
    "defaultStatus": "unaffected"
  }
]

CVSS3

6

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

9.1%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial