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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
JettyEclipse9.0.0 (including)9.4.52 (excluding)
JettyEclipse10.0.0 (including)10.0.16 (excluding)
JettyEclipse11.0.0 (including)11.0.16 (excluding)
JettyEclipse12.0.0 (including)12.0.0 (including)
JettyEclipse12.0.0-beta0 (including)12.0.0-beta0 (including)
JettyEclipse12.0.0-beta1 (including)12.0.0-beta1 (including)
JettyEclipse12.0.0-beta2 (including)12.0.0-beta2 (including)
JettyEclipse12.0.0-beta3 (including)12.0.0-beta3 (including)
JettyEclipse12.0.0-beta4 (including)12.0.0-beta4 (including)
AMQ ClientsRedHatjetty-http*
OCP-Tools-4.12-RHEL-8RedHatjenkins-0:2.426.3.1706515686-3.el8*
Red Hat AMQ Broker 7RedHatjetty-http*
Red Hat AMQ Streams 2.6.0RedHatjetty-http*
Red Hat Fuse 7.12.1RedHatjetty*
Red Hat Fuse 7.12.1RedHatjetty-http*
Red Hat Fuse 7.13.0RedHatjetty*
Red Hat Fuse 7.13.0RedHatjetty-http*
Red Hat Integration Camel Quarkus 2RedHatjetty-http*
Red Hat Satellite 6.14 for RHEL 8RedHatcandlepin-0:4.3.11-1.el8sat*
Red Hat Satellite 6.15 for RHEL 8RedHatpuppetserver-0:7.14.0-1.el8sat*
Red Hat Satellite 6.15 for RHEL 8RedHatpuppetserver-0:7.14.0-1.el8sat*
RHINT Camel-Springboot 4.0.0RedHatjetty-http*
Jetty9Ubuntubionic*
Jetty9Ubuntuesm-apps/bionic*
Jetty9Ubuntuesm-apps/focal*
Jetty9Ubuntuesm-apps/jammy*
Jetty9Ubuntuesm-apps/xenial*
Jetty9Ubuntufocal*
Jetty9Ubuntujammy*
Jetty9Ubuntulunar*
Jetty9Ubuntumantic*
Jetty9Ubuntutrusty*
Jetty9Ubuntuupstream*
Jetty9Ubuntuxenial*

Potential Mitigations

References