Vulnerability · Published Oct 30, 2024 · Assigned by HashiCorp

CVE-2024-10086Consul Vulnerable To Reflected XSS On Content-Type Error Manipulation

Medium 6.1

In plain English

A medium-severity cross-site scripting in Consul from HashiCorp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.4%top 65.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A vulnerability was identified in Consul and Consul Enterprise such that the server response did not explicitly set a Content-Type HTTP header, allowing user-provided inputs to be misinterpreted and lead to reflected XSS.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/hashicorp/consul1.20.0GHSA-99wr-c2px-grmh
Gogithub.com/hashicorp/consul1.20.0GO-2024-3242
Ubuntu:22.04:LTSconsulno fix listedUBUNTU-CVE-2024-10086

Affected products (as reported)

VendorProductVersions
HashiCorp Consul 1.4.1 – before 1.20.0
HashiCorp Consul Enterprise 1.4.1 – before 1.20.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References