Allocation of Resources Without Limits or Throttling Affecting org.apache.struts:struts2-core package, versions [2.0.0,2.5.31)[6.1.2,6.1.2.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.14% (91st 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-5707101
  • published14 Jun 2023
  • disclosed14 Jun 2023
  • creditMatthew McClain

Introduced: 14 Jun 2023

CVE-2023-34149  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade org.apache.struts:struts2-core to version 2.5.31, 6.1.2.1 or higher.

Overview

org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to improper handling of getProperty() by the XWorkListPropertyAccessor class. Exploiting this vulnerability is possible if the developer has set CreateIfNull to true for the underlying Collection type field.

Workaround

Set CreateIfNull to false for Collection type fields (it is false by default if not set).

CVSS Scores

version 3.1