CVE-2023-40167
Eclipse Jetty 9.0.0 – 9.4.52
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2023-40167 is a medium-severity Improper Handling of Length Parameter Inconsistency (CWE-130) vulnerability in Eclipse Jetty. Its CVSS base score is 5.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 29% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
Jetty, an open-source Java web server and servlet container, is affected by a parsing inconsistency in its HTTP/1 handling prior to versions 9.4.52, 10.0.16, 11.0.16, and 12.0.1. The server accepts a leading “+” character in the Content-Length header value, which deviates from RFC 9110 requirements and from the stricter behavior of many other HTTP implementations that respond with a 400 status.
An unauthenticated network attacker could send such a malformed request in an attempt to trigger request-smuggling conditions when Jetty is placed behind or in front of another server that fails to close the connection after issuing a 400 response. Although no concrete exploit scenario has been identified, the permissive parsing could allow an attacker to manipulate request framing and potentially reach protected resources or bypass access controls in certain proxy or load-balanced deployments.
The project’s security advisory and downstream distributions such as Debian advise immediate upgrade to the patched releases; no configuration workaround exists. Public references, including the GitHub advisory GHSA-hmr7-m48g-48f6 and the associated RFC section, document the discrepancy and the fix.
EPSS scores have remained low, with a current value of 0.0457 and a peak of only 0.0553, indicating limited observed exploitation interest since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-2523
Vulnerability Data
Jetty is a Java based web server and servlet engine. Prior to versions 9.4.52, 10.0.16, 11.0.16, and 12.0.1, Jetty accepts the `+` character proceeding the content-length value in a HTTP/1 header field. This is more permissive than allowed by the…
more
RFC and other servers routinely reject such requests with 400 responses. There is no known exploit scenario, but it is conceivable that request smuggling could result if jetty is used in combination with a server that does not close the connection after sending such a 400 response. Versions 9.4.52, 10.0.16, 11.0.16, and 12.0.1 contain a patch for this issue. There is no workaround as there is no known exploit scenario.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V3.5.5V4.2.1V4.2.2
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly enforce length validation and input sanitization during coding and review.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development can detect length-inconsistency vulnerabilities before deployment.
Training raises developer awareness of input validation and parsing hazards, which catches a minority of length-parameter inconsistencies before they ship, but the strongest effect on this implementation-phase defect belongs to secure coding (A.8.28) and security testing (A.8.29), and human practice is fallible.
Secure coding standards directly prohibit improper length handling and enforce defensive parsing practices.
A.8.30 contractually requires secure design, coding and testing practices (8.25–8.29), threat modelling, acceptance testing and evidence of vulnerability testing in outsourced delivery, which can prevent some length-parameter handling defects at the supplier; but the clause is an oversight/governance layer whose effect depends on supplier implementation rigour and the organisation's monitoring, so it catches a minority of instances rather than the bulk.
A.8.8's reach is disclosure-based (vendor advisories, third-party component inventory); CWE-130 is an implementation bug in parsing code that lives mostly in first-party code A.8.8 does not read, so only the disclosed share — instances that have surfaced as CVEs in third-party components (Heartbleed being the canonical example) — is found, which is a minority of latent instances.