VDB
Sign up
MEDIUM5.3

GHSA-337m-mw94-2v6g

Apache Commons Configuration: StackOverflowError for YAML input with cycles

Quick fix

GHSA-337m-mw94-2v6g — org.apache.commons:commons-configuration2: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.15.0</version> for org.apache.commons:commons-configuration2

Details

Uncontrolled Recursion vulnerability in Apache Commons.

When processing an untrusted configuration file, Commons Configuration will throw a StackOverflowError for YAML input with cycles. This issue affects Apache Commons: from 2.2 before 2.15.0.

Users are recommended to upgrade to version 2.15.0, which fixes the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.commons:commons-configuration2
Introduced in: 2.2Fixed in: 2.15.0
Fix# pom.xml: bump <version>2.15.0</version> for org.apache.commons:commons-configuration2

References