Out-of-Bounds Write Affecting org.apache.commons:commons-configuration2 package, versions [2.0.0,2.10.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (17th 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 IDSNYK-JAVA-ORGAPACHECOMMONS-6475528
  • published21 Mar 2024
  • disclosed21 Mar 2024
  • creditGary Gregory

Introduced: 21 Mar 2024

CVE-2024-29133  (opens in a new tab)
CWE-787  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade org.apache.commons:commons-configuration2 to version 2.10.1 or higher.

Overview

org.apache.commons:commons-configuration2 is a group of tools to assist in the reading of configuration/preferences files in various formats.

Affected versions of this package are vulnerable to Out-of-Bounds Write due to the improper handling of a cyclical object tree when calling the ListDelimiterHandler.flatten method. An attacker can trigger a StackOverflowError and potentially cause a denial of service condition by submitting a specially crafted configuration object.

CVSS Scores

version 3.1