cve.bz

CVE-2024-6162

7.5 highEPSS 1.7%Fix available

High (7.5). EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in io.undertow:undertow-core 2.2.33.Final, 2.3.14.Final.

On this page
A vulnerability was found in Undertow, where URL-encoded request paths can be mishandled during concurrent requests on the AJP listener. This issue arises because the same buffer is used to decode the paths for multiple requests simultaneously, leading to incorrect path information being processed. As a result, the server may attempt to access the wrong path, causing errors such as "404 Not Found" or other application failures. This flaw can potentially lead to a denial of service, as legitimate resources become inaccessible due to the path mix-up.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-24. 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-06-20. 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-488 Exposure of Data Element to Wrong Session
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-6162 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-6162?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-6162?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-6162 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.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9442-gm4v-r222Mavenio.undertow:undertow-core>=2.3.0.Alpha1 <2.3.14.Final2.3.14.Final
GHSA-9442-gm4v-r222Mavenio.undertow:undertow-core<2.2.33.Final2.2.33.Final

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14undertow2.3.18-1DEBIAN-CVE-2024-6162
Ubuntu25.10, 26.04:LTS, 26.10 and 5 moreundertowno fix listedUBUNTU-CVE-2024-6162

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is classified as moderate severity rather than important because it specifically affects URL-encoded request paths under concurrent access conditions, primarily through the AJP listener. While it can lead to 404 errors or application failures, it does not inherently compromise data integrity, security, or lead to direct unauthorized access. The impact is limited to incorrect handling of certain URL-encoded paths, which means it primarily disrupts access to static or encoded resources rather than posing a broader risk to the system’s overall security or functionality.

Red Hat's mitigation

To mitigate this issue, you can either switch to a different listener like the http-listener, or adjust the AJP listener configuration. By setting decode-url="false" on the AJP listener and configuring a separate URL decoding filter, you can prevent the path decoding errors. This adjustment ensures that each request is processed correctly without interference from concurrent requests.

ProductPackageStateAdvisory
EAP 8.0.1Fixed 2024-03-06RHSA-2024:1194
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2undertowFixed 2024-07-25RHSA-2024:4884
Red Hat JBoss Enterprise Application Platform Expansion PackFixed 2024-07-08RHSA-2024:4386
Red Hat build of Apache Camel for Spring Boot 3undertowWill not fix
Red Hat build of Apache Camel - HawtIO 4undertowNot affected
Red Hat Build of KeycloakundertowNot affected
Red Hat Data Grid 8undertowNot affected
Red Hat Fuse 7undertowWill not fix
Red Hat Integration Camel K 1undertowWill not fix
Red Hat JBoss Data Grid 7undertowWill not fix
Red Hat JBoss Enterprise Application Platform 7undertowNot affected
Red Hat JBoss Enterprise Application Platform 8undertowNot affected
Red Hat JBoss Enterprise Application Platform Expansion PackundertowAffected
Red Hat Process Automation 7undertowWill not fix
Red Hat Single Sign-On 7undertowWill not fix

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

Attack patterns (CAPEC)

  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-60 Reusing Session IDs (aka Session Replay) Likelihood: High · Severity: High

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

References

Check your stackJSON