Cloudanix VulnDB

CVE-2024-10005

None

CVSS

—

EPSS

0.8%

Published

Oct 30, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A networking tool used to control which services can talk to each other had a flaw that could let some requests slip past the rules meant to keep certain parts private.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Privilege Gain
Component
Application
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw permits crafted URL paths in L7 traffic intentions to evade HTTP request path-based access rules, allowing unauthorized service-to-service communication that should have been blocked.

Why it matters to the business

Attackers may reach internal services or data that path-based policies were intended to protect, increasing risk of data exposure or unauthorized operations in environments using Consul for service networking.

How an attack unfolds

An attacker identifies services protected by path-based L7 intentions, then submits HTTP requests containing specially formatted URL paths that bypass the intended rules and reach restricted endpoints.

How to fix it

Upgrade hashicorp/consul to the version containing commit e694ba9b3f1c9f440350869e739d534532946920. After upgrade, re-apply and validate all L7 traffic intentions that rely on HTTP path matching.

How to confirm the fix worked

Confirm the running binary reports a commit at or after e694ba9b3f1c9f440350869e739d534532946920. Test enforcement by sending both allowed and disallowed paths through the updated Consul proxy layer and verify expected allow/deny behavior.

Typical attack path

  1. Map Consul-managed services and their L7 traffic intention rules
  2. Craft HTTP requests using URL paths designed to evade path-based filters
  3. Issue the requests from an authorized client or compromised workload
  4. Access or manipulate resources that should have been denied

How to detect it

Review Consul proxy access logs and Envoy access logs for requests that reached endpoints previously protected by path-based intentions; correlate with service identity and unusual path patterns.

What your security team should do

  • Immediately upgrade all Consul nodes to the fixed commit
  • Audit existing L7 intentions for path-based rules and confirm they still enforce correctly post-upgrade
  • Enable detailed access logging on Consul proxies and retain logs for at least 90 days
  • Review downstream service dependencies to ensure no application-level assumptions about path enforcement were weakened

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Go github.com/hashicorp/consul 1.9.0 1.20.1
Bitnami consul 1.9.0 1.20.1
Chainguard consul-1.18-oci-entrypoint 0 1.18.2-r44
Chainguard consul-1.18-oci-entrypoint-compat 0 1.18.2-r44
Chainguard consul-1.19-oci-entrypoint 0 1.19.2-r43
Chainguard consul-1.19-oci-entrypoint-compat 0 1.19.2-r43
Chainguard consul-1.20 0 1.20.6-r11
Chainguard consul-1.20-oci-entrypoint 0 1.20.6-r11
Chainguard consul-1.20-oci-entrypoint-compat 0 1.20.6-r11
Chainguard consul-1.21 0 1.21.5-r6
Chainguard consul-1.21-oci-entrypoint 0 1.21.5-r6
Chainguard consul-1.21-oci-entrypoint-compat 0 1.21.5-r6
Chainguard consul-1.22 0 1.22.1-r2
Chainguard consul-1.22-oci-entrypoint 0 1.22.1-r2
Chainguard consul-1.22-oci-entrypoint-compat 0 1.22.1-r2
Chainguard consul-fips-1.19-oci-entrypoint 0 1.19.2-r42
Chainguard consul-fips-1.19-oci-entrypoint-compat 0 1.19.2-r42
Chainguard consul-fips-1.20 0 1.20.6-r10
Chainguard consul-fips-1.20-oci-entrypoint 0 1.20.6-r10
Chainguard consul-fips-1.20-oci-entrypoint-compat 0 1.20.6-r10
Chainguard consul-fips-1.21 0 1.21.5-r6
Chainguard consul-fips-1.21-oci-entrypoint 0 1.21.5-r6
Chainguard consul-fips-1.21-oci-entrypoint-compat 0 1.21.5-r6
Chainguard consul-fips-1.22 0 1.22.2-r1
Chainguard consul-fips-1.22-oci-entrypoint 0 1.22.2-r1
Chainguard consul-fips-1.22-oci-entrypoint-compat 0 1.22.2-r1
Debian:11 consul 0 No fix
SUSE:Linux Enterprise Module for Package Hub 15 SP5 govulncheck-vulndb 0 0.0.20241104T154416-150000.1.12.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 govulncheck-vulndb 0 0.0.20241104T154416-150000.1.12.1
SUSE:Package Hub 12 govulncheck-vulndb 0 0.0.20241104T154416-5.1
Ubuntu:18.04:LTS consul 0 No fix
Ubuntu:20.04:LTS consul 0 No fix
Ubuntu:22.04:LTS consul 0 No fix
Ubuntu:Pro:18.04:LTS consul 0 No fix
Ubuntu:Pro:20.04:LTS consul 0 No fix
go github.com/hashicorp/consul 1.9.0 1.20.1
openSUSE:Leap 15.5 govulncheck-vulndb 0 0.0.20241104T154416-150000.1.12.1
openSUSE:Leap 15.6 govulncheck-vulndb 0 0.0.20241104T154416-150000.1.12.1
openSUSE:Tumbleweed govulncheck-vulndb 0 0.0.20241104T154416-1.1

Related vulnerabilities