cve.bz

CVE-2024-10006 hashicorp consul: Improper Encoding or Escaping of Output

5.8 mediumEPSS 0.5%Fix available

Medium (5.8) in hashicorp consul. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/hashicorp/consul 1.20.1.

On this page
A vulnerability was identified in Consul and Consul Enterprise (“Consul”) such that using Headers in L7 traffic intentions could bypass HTTP header based access rules.

Severity

CVSS 3.1

5.8 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st 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: yes · Technical impact: partial, assessed 2024-10-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-116 Improper Encoding or Escaping of Output
CWE-644 Improper Neutralization of HTTP Headers for Scripting Syntax
OWASP Top 10
A05:2025 Injection
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-10006 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-10006?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-10006?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-10006 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 Consulfrom 1.9.0 before 1.20.1
HashiCorp Consul Enterprisefrom 1.9.0 before 1.20.1

Fixed in

ProductFixed in
HashiCorp Consul Enterprise1.19.3
HashiCorp Consul Enterprise1.18.5
HashiCorp Consul Enterprise1.15.15

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5c4w-8hhh-3c3hGogithub.com/hashicorp/consul>=1.9.0 <1.20.11.20.1
GO-2024-3241Gogithub.com/hashicorp/consul>=1.9.0 <1.20.11.20.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11consulno fix listedDEBIAN-CVE-2024-10006
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSconsulno fix listedUBUNTU-CVE-2024-10006
SUSELinux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20241104T154416-150000.1.12.1SUSE-SU-2024:3950-1
SUSEPackage Hub 12govulncheck-vulndb0.0.20241104T154416-5.1openSUSE-SU-2024:0350-1
openSUSELeap 15.5, Leap 15.6govulncheck-vulndb0.0.20241104T154416-150000.1.12.1SUSE-SU-2024:3950-1
openSUSETumbleweedgovulncheck-vulndb0.0.20241104T154416-1.1openSUSE-SU-2024:14458-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as important severity because HashiCorp Consul fails to set a Content-Type HTTP header, allowing user inputs to be misinterpreted and potentially leading to reflected cross-site scripting (XSS). This can compromise both confidentiality and integrity, posing a risk to user data and application security, which requires prompt remediation.

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
Red Hat OpenShift Dev Spaces (RHOSDS) 3.23devspaces/traefik-rhel9:3.23-1756504388Fixed 2025-09-15RHSA-2025:15847

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-10006.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High

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

References

Check your stackJSON