What’s Vulnerable › Vulnerabilities

CVE-2023-40167: Jetty accepts "+" prefixed value in Content-Length

Description

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.

Affected products

How to fix

Upgrade to a fixed version: The Eclipse Foundation Eclipse Jetty 10.0.16, 11.0.16, 9.4.52. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-40167 or the next vulnerability affects your stack