CVE Vulnerabilities

CVE-2023-40167

Improper Handling of Length Parameter Inconsistency

Published: Sep 15, 2023 | Modified: Nov 21, 2024
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
5.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Ubuntu
MEDIUM

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)
AMQ Clients RedHat jetty-http *
OCP-Tools-4.12-RHEL-8 RedHat jenkins-0:2.426.3.1706515686-3.el8 *
Red Hat AMQ Broker 7 RedHat jetty-http *
Red Hat AMQ Streams 2.6.0 RedHat jetty-http *
Red Hat Fuse 7.12.1 RedHat jetty *
Red Hat Fuse 7.12.1 RedHat jetty-http *
Red Hat Fuse 7.13.0 RedHat jetty *
Red Hat Fuse 7.13.0 RedHat jetty-http *
Red Hat Integration Camel Quarkus RedHat jetty-http *
Red Hat Satellite 6.14 for RHEL 8 RedHat candlepin-0:4.3.11-1.el8sat *
Red Hat Satellite 6.15 for RHEL 8 RedHat puppetserver-0:7.14.0-1.el8sat *
Red Hat Satellite 6.15 for RHEL 8 RedHat puppetserver-0:7.14.0-1.el8sat *
RHINT Camel-Springboot 4.0.0 RedHat jetty-http *
Jetty9 Ubuntu bionic *
Jetty9 Ubuntu lunar *
Jetty9 Ubuntu mantic *
Jetty9 Ubuntu trusty *
Jetty9 Ubuntu xenial *

Potential Mitigations

References