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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.05% (15th percentile)
Expand this section
Red Hat
4.4 medium
Expand this section
SUSE
4.4 medium

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 ID SNYK-JAVA-ORGAPACHECOMMONS-6475528
  • published 21 Mar 2024
  • disclosed 21 Mar 2024
  • credit Gary Gregory

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.