CVE-2023-40167

Jetty accepts "+" prefixed value in Content-Length

State
Published
Severity
5.3 Medium
Published
Sep 15, 2023
Updated
Feb 13, 2025
Reserved
Aug 9, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NGitHub_M

Weaknesses

  • CWE-130 Improper Handling of Length Parameter Inconsistency

Affected Products

ProductVersions
jetty.projecteclipse
  • >= 9.0.0, <= 9.4.51Affected
  • >= 10.0.0, <= 10.0.15Affected
  • >= 11.0.0, <= 11.0.15Affected
  • = 12.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.