NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2020-27218 — jetty-server

MEDIUM

CVE-2020-27218 is a medium-severity (CVSS 4.8) CWE-226 vulnerability in org.eclipse.jetty:jetty-server. 7 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.eclipse.jetty:jetty-server — see the affected versions and patch details below.

Buffer not correctly recycled in Gzip Request inflation

Also known asBIT-kafka-2020-27218BIT-spark-2020-27218GHSA-86wm-rrjm-8wh8
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
7 known
Exploitation data as of Nov 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
8.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs95th percentile — riskier than 95% of all scored CVEsHighest risk
0.00%3.53%7.05%10.6%0.6%8.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
☕org.eclipse.jetty:jetty-server

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.eclipse.jetty:jetty-server≥ 9.4.0&&< 9.4.35.v202011209.4.35.v20201120org.eclipse.jetty:jetty-server:9.4.35.v20201120

Affected Products

17 products · 27 configurations
Application
kafkaapache
1 version
2.7.0
Application
sparkapache
2 versions
2.4.83.0.3
OS
debian linuxdebian
1 version
10.0
Application
jettyeclipse
≥ 9.4.0 && < 9.4.35
2 versions
10.0.011.0.0
Application
oncommand system managernetapp
≥ 3.0 && ≤ 3.1.3
range
Application
snap creator frameworknetapp
all
Exploits & PoCs
7

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.eclipse.jetty:jetty-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.eclipse.jetty:jetty-server to 9.4.35.v20201120 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-27218 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

In OpenShift Container Platform (OCP), the Hive/Presto/Hadoop components that comprise the OCP Metering stack, ship the vulnerable version of jetty. Since the release of OCP 4.6, the Metering product has been deprecated [1], hence the affected components are marked as wontfix. This may be fixed in the future. [1]…

ProductFixed inAdvisory
Red Hat AMQ 7.8.1see advisoryRHSA-2021:0417
Red Hat AMQ LTS 7.4.6jettyRHSA-2021:0329
Red Hat Fuse 7.10jettyRHSA-2021:5134
Red Hat Integration Camel Quarkus 2see advisoryRHSA-2021:4767
Red Hat Migration Toolkit for Containers 1.4rhmtc/openshift-migration-controller-rhel8:v1.4.6-4RHBA-2021:2854
Red Hat OpenShift Container Platform 3.11jenkins-0:2.289.1.1624365627-1.el7RHSA-2021:2517
Red Hat OpenShift Container Platform 4.5jenkins-0:2.277.3.1623846768-1.el7RHSA-2021:2431
Red Hat OpenShift Container Platform 4.6jenkins-0:2.277.3.1623853726-1.el8RHSA-2021:2499

Frequently Asked Questions

### 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](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L&version=3.1) ##
O3 Security · Impact-Aware SCA

Is CVE-2020-27218 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2020-27218: jetty-server — Fix Available