CVE-2024-29131: Apache Commons Configuration: StackOverflowError adding property in AbstractListDelimiterHandler.flattenIterator()
This Out-of-bounds Write vulnerability in Apache Commons Configuration affects Apache Commons Configuration: from 2.0 before 2.10.1. User can see this as a 'StackOverflowError' when adding a property in 'AbstractListDelimiterHandler.flattenIterator()'. Users are recommended to upgrade to version 2.10.1, which fixes the issue.
Published Mar 21, 2024 · Updated Feb 13, 2025
Affected packages
org.apache.commons:commons-configuration2
- Ecosystem
- Maven
- Affected
- >= 2.0, < 2.10.1
- Fixed in
- 2.10.1
- Check
mvn dependency:tree -Dincludes=org.apache.commons:commons-configuration2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
This Out-of-bounds Write vulnerability in Apache Commons Configuration affects Apache Commons Configuration: from 2.0 before 2.10.1. User can see this as a 'StackOverflowError' when adding a property in 'AbstractListDelimiterHandler.flattenIterator()'. Users are recommended to upgrade to version 2.10.1, which fixes the issue.
Credited to oscerd.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29131
- https://lists.apache.org/thread/03nzzzjn4oknyw5y0871tw7ltj0t3r37
- https://github.com/apache/commons-configuration/commit/56b5c4dcdffbde27870df5a3105d6a5f9b22f554
- https://issues.apache.org/jira/browse/CONFIGURATION-840
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YD4AFTIIQW662LUAQRMWS6BBKYSZG3YS
- https://lists.fedoraproject.org/archives/list/[email protected]/message/SNKDKEEKZNL5FGCTZKJ6CFXFVWFL5FJ7
- https://security.netapp.com/advisory/ntap-20241213-0001
- https://github.com/advisories/GHSA-xjp4-hw94-mvp5
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
