Uncontrolled Resource Consumption Affecting commons-io:commons-io package, versions [2.0,2.14.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (11th 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 Uncontrolled Resource Consumption vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMMONSIO-8161190
  • published3 Oct 2024
  • disclosed3 Oct 2024
  • creditCodeQL

Introduced: 3 Oct 2024

CVE-2024-47554  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade commons-io:commons-io to version 2.14.0 or higher.

Overview

commons-io:commons-io is a The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption through the XmlStreamReader class. An attacker can cause the application to consume excessive CPU resources by sending specially crafted XML content.

CVSS Scores

version 4.0
version 3.1