CVE-2022-2191
Java vulnerability analysis and mitigation

Overview

CVE-2022-2191 affects Eclipse Jetty versions 10.0.0 through 10.0.9 and 11.0.0 through 11.0.9. The vulnerability was discovered in the SslConnection component, which fails to release ByteBuffers from configured ByteBufferPool in error code paths (GitHub Advisory, CVE Mitre).

Technical details

The vulnerability occurs when SslConnection fails to release ByteBuffers in error code paths. A specific example is during TLS handshakes that require client authentication with clients sending expired certificates, which triggers TLS handshake errors causing ByteBuffer leaks (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High), with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NetApp Security).

Impact

Successful exploitation of this vulnerability could lead to a Denial of Service (DoS) condition. The vulnerability specifically affects the availability of the system while having no impact on confidentiality or integrity (NetApp Security).

Mitigation and workarounds

A workaround exists by configuring explicitly a RetainableByteBufferPool with maxHeapMemory and maxDirectMemory to limit the amount of memory that can be leaked. The pool will eventually become full of 'active' entries (the leaked ones) and will provide ByteBuffers that will be garbage collected normally. The issue has been fixed in versions 10.0.10 and 11.0.10 (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management