cve.bz

CVE-2024-10005 hashicorp consul: Path traversal

5.8 mediumEPSS 0.8%Fix available

Medium (5.8) in hashicorp consul. EPSS 0.8% 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 URL paths in L7 traffic intentions could bypass HTTP request path-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.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th 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: no · Technical impact: total, 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.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
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-10005 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-10005?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-10005?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-10005 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-chgm-7r52-whjjGogithub.com/hashicorp/consul>=1.9.0 <1.20.11.20.1
GO-2024-3243Gogithub.com/hashicorp/consul>=1.9.0 <1.20.11.20.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11consulno fix listedDEBIAN-CVE-2024-10005
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSconsulno fix listedUBUNTU-CVE-2024-10005
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 Low.

Red Hat's statement

This vulnerability is rated as important severity because the lack of path normalization in HashiCorp Consul allows attackers to exploit URL paths in L7 traffic intentions, bypassing defined permissions. This can compromise both confidentiality and integrity, enabling unauthorized access to sensitive data and resources, highlighting the need for immediate attention.

This CVE has been rated "Low" as RH does not use Consul/Consul Catalog as a provider for configuration discovery in Traefik Proxy. Even though the product is affected, RH products are not vulnerable.

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

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

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

References

Check your stackJSON