Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.eclipse.jetty/jetty-webapp
  4. ›
  5. CVE-2023-40167

CVE-2023-40167: Improper Handling of Length Parameter Inconsistency

September 15, 2023 (updated October 13, 2023)

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.

References

  • github.com/eclipse/jetty.project/security/advisories/GHSA-hmr7-m48g-48f6
  • nvd.nist.gov/vuln/detail/CVE-2023-40167
  • www.rfc-editor.org/rfc/rfc9110

Code Behaviors & Features

Detect and mitigate CVE-2023-40167 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 9.0.0 before 9.4.52, all versions starting from 10.0.0 before 10.0.16, all versions starting from 11.0.0 before 11.0.16, version 12.0.0

Fixed versions

  • 9.4.52.v20230823
  • 10.0.16
  • 11.0.16

Solution

Upgrade to versions 9.4.52.v20230823, 10.0.16, 11.0.16 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-130: Improper Handling of Length Parameter Inconsistency

Source file

maven/org.eclipse.jetty/jetty-webapp/CVE-2023-40167.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.