Allocation of Resources Without Limits or Throttling Affecting org.apache.struts:struts2-rest-plugin package, versions [2.1.8,6.12.0)[7.0.0,7.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.56% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHESTRUTS-22283229
  • published8 Nov 2026
  • disclosed5 Oct 2026
  • creditn0mi1k

Introduced: 5 Oct 2026

CVE-2026-104713  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade org.apache.struts:struts2-rest-plugin to version 6.12.0, 7.4.0 or higher.

Overview

org.apache.struts:struts2-rest-plugin is a free open-source solution for creating Java web applications.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the intercept method in ContentTypeInterceptor in the Apache Struts REST plugin. An attacker can exhaust the Java heap and deny service to other users by sending a large request body for the plugin to process. No additional setting is required; applications that do not use the REST plugin are not affected.

Notes

  • At the interceptor’s body-processing gate, request.getContentLength() must be positive; requests with an unknown or absent content length do not enter this read path.
  • At the handler-read step, the selected content-type handler must consume the reader for the body to be allocated in memory; handlers that leave it unread do not trigger the unbounded read.

CVSS Base Scores

version 4.0
version 3.1