CVE Vulnerabilities

CVE-2023-40167

Improper Handling of Length Parameter Inconsistency

Published: Sep 15, 2023 | Modified: Oct 13, 2023
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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

Weakness

The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.

Affected Software

Name Vendor Start Version End Version
Jetty Eclipse 9.0.0 (including) 9.4.52 (excluding)
Jetty Eclipse 10.0.0 (including) 10.0.16 (excluding)
Jetty Eclipse 11.0.0 (including) 11.0.16 (excluding)
Jetty Eclipse 12.0.0 (including) 12.0.0 (including)
Jetty Eclipse 12.0.0-beta0 (including) 12.0.0-beta0 (including)
Jetty Eclipse 12.0.0-beta1 (including) 12.0.0-beta1 (including)
Jetty Eclipse 12.0.0-beta2 (including) 12.0.0-beta2 (including)
Jetty Eclipse 12.0.0-beta3 (including) 12.0.0-beta3 (including)
Jetty Eclipse 12.0.0-beta4 (including) 12.0.0-beta4 (including)

Potential Mitigations

References