CVE-2020-27218
JSON

4.8medium

Buffer not correctly recycled in Gzip Request inflation

Severity
4.8medium CVSS:3.1 by NVD
Exploit likelihood
8.25% (higher than 95% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
eclipse
Also known as
GHSA-86wm-rrjm-8wh8BIT-KAFKA-2020-27218BIT-SPARK-2020-27218

Description

In Eclipse Jetty version 9.4.0.RC0 to 9.4.34.v20201102, 10.0.0.alpha0 to 10.0.0.beta2, and 11.0.0.alpha0 to 11.0.0.beta2, if GZIP request body inflation is enabled and requests from different clients are multiplexed onto a single connection, and if an attacker can send a request with a body that is received entirely but not consumed by the application, then a subsequent request on the same connection will see that body prepended to its body. The attacker will not see any data but may inject data into the body of the subsequent request.

Affected

Product or packageVersionsReported by
The Eclipse Foundation Eclipse Jetty9.4.0.RC0 to 9.4.34.v20201102, 10.0.0.alpha0 to 10.0.0.beta2, 11.0.0.alpha0 to 11.0.0.beta2CVE List
org.eclipse.jetty:jetty-server (Maven)from 9.4.0 before 9.4.35.v20201120GitHub Advisory Database
eclipse jettyfrom 9.4.0 before 9.4.35, 10.0.0, 11.0.0NVD
netapp oncommand_system_managerfrom 3.0 up to 3.1.3NVD
netapp snap_creator_frameworkNot specifiedNVD
oracle blockchain_platformbefore 21.1.2NVD
oracle communications_converged_application_server_-_service_controller6.2NVD
oracle communications_offline_mediation_controller12.0.0.3.0NVD
oracle communications_pricing_design_center12.0.0.3.0NVD
oracle communications_services_gatekeeper7.0NVD
oracle communications_session_route_managerfrom 8.0.0 up to 8.2.4NVD
oracle flexcube_private_banking12.0.0, 12.1.0NVD

All scores

GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
NVD4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:P
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

In Eclipse Jetty version 9.4.0.RC0 to 9.4.34.v20201102, 10.0.0.alpha0 to 10.0.0.beta2, and 11.0.0.alpha0 to 11.0.0.beta2, if GZIP request body inflation is enabled and requests from different clients are multiplexed onto a single connection, and if an attacker can send a request with a body that is received entirely but not consumed by the application, then a subsequent request on the same connection will see that body prepended to its body. The attacker will not see any data but may inject data into the body of the subsequent request.

GitHub Advisory Database
Impact

If GZIP request body inflation is enabled and requests from different clients are multiplexed onto a single connection and if an attacker can send a request with a body that is received entirely by not consumed by the application, then a subsequent request on the same connection will see that body prepended to it's body.

The attacker will not see any data, but may inject data into the body of the subsequent request

CVE score is 4.8 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Workarounds

The problem can be worked around by either:

  • Disabling compressed request body inflation by GzipHandler.
  • By always fully consuming the request content before sending a response.
  • By adding a Connection: close to any response where the servlet does not fully consume request content.
NVD (es)

En Eclipse Jetty versión 9.4.0.RC0 hasta 9.4.34.v20201102, 10.0.0.alpha0 hasta 10.0.0.beta2 y 11.0.0.alpha0 hasta 11.0.0.beta2, si la inflación del cuerpo de la petición GZIP está habilitada y solicita de diferentes clientes se multiplexan en una sola conexión, y si un atacante puede enviar una petición con un cuerpo que es recibido por completo pero no consumido por la aplicación, entonces una petición posterior en la misma conexión verá ese cuerpo antepuesto a su cuerpo. El atacante no verá ningún dato, pero puede inyectar datos en el cuerpo de la petición posterior

References

https://bugs.eclipse.org/bugs/show_bug.cgi?id=568892advisory, issue-tracking, vendor-advisory, web
https://github.com/eclipse/jetty.project/security/advisories/GHSA-86wm-rrjm-8wh8advisory, third-party-advisory, web
https://lists.apache.org/thread.html/r6d5bb60a13e8b539600f86cb72097967b951de5c7ef1e4005cda74a7%40%3Cnotifications.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web
https://lists.apache.org/thread.html/r8fee46fd9f1254150cc55eecf1ea6a448fca1f7cf1d1e7f9c4803fdb%40%3Cnotifications.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web
https://lists.apache.org/thread.html/rbc5a8d7a0a13bc8152d427a7e9097cdeb139c6cfe111b2f00f26d16b%40%3Cissues.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web
https://lists.apache.org/thread.html/r8c839a0d88cd6504abbe72c260371094f47014b2ba08d8d2c0232e3c%40%3Cnotifications.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web
https://lists.apache.org/thread.html/r22776d06582985cca5bd2a92519a2b13b4cae2d8e087318da03c036d%40%3Cnotifications.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web
https://lists.apache.org/thread.html/rfa8879a713480b206c152334419499e6af0878c36217abcc9ab4f0d1%40%3Cnotifications.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web
https://lists.apache.org/thread.html/re86a6ba09dc74e709db843e3561ead923c8fd1cba32343656dd8c44b%40%3Cnotifications.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web
https://lists.apache.org/thread.html/r23ce6b8965e30808daa77a80fcd69833b1fc632d80465d0419eff619%40%3Cissues.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web
https://lists.apache.org/thread.html/r4981622ba15e8be1657d30b7c85044c7aabe89751fa7324f8604b834%40%3Cnotifications.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web
https://lists.apache.org/thread.html/re03a566114435a8cc8eb72158242b0f560c5eeccbb4ee98d22de8373%40%3Cnotifications.zookeeper.apache.org%3Eissue-tracking, mailing-list, report, web

Sources

SourceRecordLicence
CVE ListCVE-2020-27218 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-86wm-rrjm-8wh8 changed 2026-07-08CC-BY-4.0
NVDCVE-2020-27218 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-KAFKA-2020-27218 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-SPARK-2020-27218 changed 2026-09-08Apache-2.0