Denial of Service Affecting org.apache.struts:struts2-core package, versions [,2.5.32)[6.0.0,6.1.2.2)[6.2.0,6.3.0.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.39% (74th 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 Denial of Service vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHESTRUTS-6100744
  • published6 Dec 2023
  • disclosed5 Dec 2023
  • creditMatthew McClain

Introduced: 5 Dec 2023

CVE-2023-41835  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade org.apache.struts:struts2-core to version 2.5.32, 6.1.2.2, 6.3.0.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 Denial of Service when certain fields exceed the maxStringLength limit during multipart requests. An attacker can exploit this to leave uploaded files in the struts.multipart.saveDir even after the request has been denied resulting in excessive disk usage.

CVSS Scores

version 3.1