CVE-2022-2191 Jetty SslConnection does not release pooled ByteBuffers in case of errors

High 7.5 Published Updated

Attackers can cause a denial of service in Eclipse Jetty by triggering error paths that fail to release memory buffers, exhausting resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-2191?

CVE-2022-2191 is a high-severity denial of service vulnerability in Eclipse Jetty, published on 7 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Eclipse Jetty versions 10.0.0 thru 10.0.9, and 11.0.0 thru 11.0.9 versions, SslConnection does not release ByteBuffers from configured ByteBufferPool in case of error code paths.

Weakness: CWE-664, CWE-404

Which versions are affected by CVE-2022-2191?

4 open source packages ship an affected version, including org.eclipse.jetty:jetty-server. It affects 1 product.

PackageAffectedFixed in
org.eclipse.jetty:jetty-server MavenFrom 10.0.010.0.10
org.eclipse.jetty:jetty-server MavenFrom 10.0.010.0.10
org.eclipse.jetty:jetty-server MavenFrom 11.0.011.0.10
org.eclipse.jetty:jetty-server MavenFrom 11.0.011.0.10

Products include Eclipse Jetty.

How do I fix CVE-2022-2191?

Upgrade org.eclipse.jetty:jetty-server to a fixed version for your release line: 10.0.10 or 11.0.10.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-2191 being exploited?

There is no known exploitation of CVE-2022-2191 in the wild and no public exploit code.

All Eclipse Jetty vulnerabilities

Sources

Also known as GHSA-8mpp-f3f7-xc28, UBUNTU-CVE-2022-2191.

Is CVE-2022-2191 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free