CVE-2026-1605
Java Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-1605 is a memory leak (resource exhaustion) vulnerability in Eclipse Jetty's GzipHandler class that can be exploited to cause denial of service via off-heap out-of-memory errors (OOMEs). It affects Eclipse Jetty versions 12.0.0–12.0.31 and 12.1.0–12.1.5 (Maven artifact org.eclipse.jetty:jetty-server). The vulnerability was published on March 5, 2026, and carries a CVSS v3.1 base score of 7.5 (High) (Github Advisory, Red Hat).

Detalhes técnicos

The root cause is a missing resource release (CWE-401 / CWE-772) leading to uncontrolled resource consumption (CWE-400) in GzipHandler.handle(). When a compressed HTTP request (Content-Encoding: gzip) is received, a JDK Inflater object is allocated via GzipRequest to decompress the request body. However, gzipRequest.destroy() — which returns the Inflater to the pool — is only invoked when the response is also compressed (i.e., when GzipResponseAndCallback is created). If the response is not compressed (no Accept-Encoding: gzip from the client or the handler does not compress the response), the destroy callback is never triggered, causing the Inflater to leak. Repeated exploitation accumulates thousands of java.util.zip.Inflater objects consuming both Java heap and native memory, ultimately crashing the JVM with an OOME. The fix requires wrapping the callback whenever a GzipRequest is created, not only when deflation is also needed (Github Advisory).

Impacto

Successful exploitation results in progressive memory exhaustion — both Java heap and native off-heap memory — leading to JVM crashes with OutOfMemoryError. The impact is limited to availability (no confidentiality or integrity loss), but the denial of service can render the affected Jetty server completely unavailable. Downstream products embedding Jetty (e.g., IBM Business Automation Insights, IBM EDB PGAI Hybrid Management, Red Hat AMQ Broker) are also affected (Red Hat Bugzilla, IBM Advisory).

Etapas de exploração

  1. Reconnaissance: Identify internet-facing Eclipse Jetty servers running versions 12.0.0–12.0.31 or 12.1.0–12.1.5 using tools like Shodan, Censys, or HTTP banner grabbing (e.g., Server: Jetty/12.x.x response header).
  2. Confirm GzipHandler is active: Send a test HTTP request with Accept-Encoding: gzip and observe whether the response includes Content-Encoding: gzip. If so, GzipHandler is likely enabled.
  3. Craft the exploit request: Prepare an HTTP POST (or other body-bearing method) request with a gzip-compressed body (Content-Encoding: gzip) but without Accept-Encoding: gzip in the request headers, ensuring the server will not compress its response.
  4. Flood the server: Repeatedly send these crafted requests in a loop or using a tool like curl, ab, or a custom script. Each request causes a new java.util.zip.Inflater object to be allocated and never released.
  5. Trigger OOM: After sufficient requests, the accumulated unreleased Inflater objects exhaust Java heap and native memory, causing the JVM to crash with an OutOfMemoryError, resulting in service unavailability (Github Advisory).

Indicadores de compromisso

  • Network: High volume of HTTP requests with Content-Encoding: gzip but lacking Accept-Encoding: gzip headers from a single or small set of source IPs; unusual sustained POST/PUT traffic to Jetty endpoints.
  • Logs: Jetty access logs showing repeated compressed-body requests without corresponding compressed responses; Java exception logs containing java.lang.OutOfMemoryError or GC overhead limit exceeded errors.
  • Process/JVM: Rapidly growing JVM heap and native memory usage observable via JVM monitoring tools (e.g., JConsole, VisualVM, Prometheus JMX exporter); heap dumps revealing thousands of java.util.zip.Inflater instances.
  • System: Unexpected Jetty process crashes or restarts; OS-level memory exhaustion alerts from monitoring systems.

Mitigação e soluções alternativas

Upgrade Eclipse Jetty to version 12.0.32 (for the 12.0.x branch) or 12.1.6 (for the 12.1.x branch), which contain the fix ensuring gzipRequest.destroy() is always called upon request completion (Github Advisory). As an immediate workaround if patching is not possible, disable GzipHandler entirely, or implement network-level rate limiting on gzip-compressed HTTP requests. Additionally, monitor JVM memory consumption for unexpected growth patterns that may indicate exploitation. Downstream product users should apply vendor-specific patches: Red Hat AMQ Broker 7.14.0 via RHSA-2026:8509, and IBM products via their respective security bulletins (Red Hat Bugzilla, IBM Advisory).

Reações da comunidade

The vulnerability was reported by community researchers glebashnik and bjorncs via the Jetty project's security advisory process (Github Advisory). Red Hat triaged it as high severity and tracked it via Bugzilla with a broad CC list spanning multiple product teams, indicating wide internal impact assessment (Red Hat Bugzilla). Social media activity was limited to automated CVE tracking posts on Bluesky and Mastodon. The Apache Kafka community also referenced the vulnerability in the context of a KIP proposal to shadow Jetty dependencies.

Recursos adicionais


OrigemEste relatório foi gerado usando IA

Relacionado Java Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploração do CISA KEV

Tem correção

Data de publicação

CVE-2026-48059HIGH8.7
  • JavaJava
  • io.netty:netty-codec-haproxy
NãoSimJun 11, 2026
CVE-2026-44249HIGH8.1
  • JavaJava
  • s3proxy
NãoSimJun 11, 2026
CVE-2026-44890HIGH7.5
  • JavaJava
  • celeborn-0.6
NãoSimJun 11, 2026
CVE-2026-44250HIGH7.5
  • JavaJava
  • apache-hop-fips
NãoSimJun 11, 2026
CVE-2025-27511HIGH7.2
  • JavaJava
  • org.geoserver.extension:gs-db2
NãoSimJun 11, 2026

Avaliação de vulnerabilidade gratuita

Compare sua postura de segurança na nuvem

Avalie suas práticas de segurança na nuvem em 9 domínios de segurança para comparar seu nível de risco e identificar lacunas em suas defesas.

Solicitar avaliação

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adão FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades