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-6475534
  • published21 Mar 2024
  • disclosed21 Mar 2024
  • creditBob Marinier

Introduced: 21 Mar 2024

CVE-2024-29131  (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 certain configurations in the AbstractListDelimiterHandler.flattenIterator method. An attacker can trigger a stack overflow by submitting a crafted configuration file or input, leading to a denial of service condition.

CVSS Scores

version 3.1