CVE-2021-21293
Java vulnerability analysis and mitigation

Overview

All servers running blaze-core before version 0.14.15 are affected by a vulnerability in which unbounded connection acceptance leads to file handle exhaustion. The vulnerability was discovered and disclosed on February 2, 2021, and is tracked as CVE-2021-21293. The issue affects the org.http4s::blaze-core Scala package and its dependent packages including blaze-http and http4s-blaze-server (GitHub Advisory).

Technical details

The vulnerability stems from Blaze accepting connections unconditionally on a dedicated thread pool. This implementation accepts incoming connections and adds them to an unbounded queue, even when services are unable to handle their current request load. Each connection allocates a socket handle, which consumes scarce OS resources. While http4s provides a mechanism for limiting open connections, it is enforced inside the Blaze accept loop after the connection is accepted and the socket opened, thus only limiting simultaneously processed connections rather than preventing excess connections from being held open (GitHub Advisory).

Impact

The vulnerability can lead to amplified service degradation in systems unable to handle their current request load, as connections continue to be accepted and queued unboundedly. This behavior drains scarce OS resources through socket handle allocation and can interfere with higher-level circuit breakers that work based on detecting failed connections (GitHub Advisory).

Exploitability

The vulnerability can be triggered by establishing multiple connections to an affected server. No specific exploit code or reports of exploitation in the wild were mentioned in the available sources.

Mitigation and workarounds

The issue is fixed in blaze-core version 0.14.15, which introduces a maxConnections parameter defaulting to 512 concurrent connections. For temporary mitigation, users can implement an Nginx side-car as a reverse proxy to apply connection limiting before requests reach blaze-core. Alternative solutions include using http4s-ember-server, http4s-jetty, or http4s-tomcat, though these may lack certain features like HTTP/2 or websocket support (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-58400CRITICAL9.1
  • Java logoJava
  • org.geonetwork-opensource:gs-web-app
NoYesSep 03, 2026
CVE-2026-63219HIGH8.6
  • Java logoJava
  • org.geonetwork-opensource:gn-services
NoYesSep 03, 2026
CVE-2026-49832HIGH8
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-49833MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-49831MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026

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