1. Archivio CVE
  2. 2023
  3. CVE-2023-40167

CVE-2023-40167

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N 5.3 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 10.0 –
debian debian linux 11.0 –
debian debian linux 12.0 –
eclipse jetty >= 9.0.0 < 9.4.52 –
eclipse jetty >= 10.0.0 < 10.0.16 –
eclipse jetty >= 11.0.0 < 11.0.16 –
eclipse jetty 12.0.0 –
eclipse jetty 12.0.0 beta0 –
eclipse jetty 12.0.0 beta1 –
eclipse jetty 12.0.0 beta2 –
eclipse jetty 12.0.0 beta3 –
eclipse jetty 12.0.0 beta4 –
Tutte le 52 vulnerabilità di Eclipse Jetty

Tipo di vulnerabilità

CWE-130 Improper Handling of Length Parameter Inconsistency

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.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità Leggere la memoria, Modificare la memoria, Dipende dal contesto

Come si previene

Sviluppo When processing structured incoming data containing a size field followed by raw data, ensure that you identify and resolve any inconsistencies between the size field and the actual size of the data.
Sviluppo Do not let the user control the size of the buffer.
Sviluppo Validate that the length of the user-supplied data is consistent with the buffer size.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 115 CVE di tipo CWE-130, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org