Security VulnerabilitiesFor information about reporting or asking questions about security, please see the security page of the Apache Commons project. This page lists all security vulnerabilities fixed in released versions of this component. Binary patches are never provided. Refer to a component's building instructions to apply source patches. If you need help building this component or other help following the instructions to mitigate the known vulnerabilities listed here, please send your questions to the public user mailing list. If you have encountered an unlisted security vulnerability or other unexpected behavior that has a security impact, or if the descriptions here are incomplete, please report them privately to the Apache Security Team. Thank you. Security ModelThe Apache Commons security model specifies that it is unsafe to pass possibly malicious input to Commons libraries. For Commons Configuration 2.x, the library is designed to support processing untrusted configuration files, without allowing those to trigger arbitrary code execution or denial of service situations. 'Denial of service' here means causing resource usage disproportionate to the input size. CVE-2022-33980 prior to 2.8.0, RCE when applied to untrusted inputOn 2022-07-06, the Apache Commons Configuration team disclosed CVE-2022-33980 . Key takeaways:
Apache Commons Configuration is a library that reads configuration data from many sources. It supports variable interpolation with lookups using various mechanisms, such as system properties or environment variables. Some of the available interpolators can trigger network access or code execution. This is intended, but it also means an application that includes user input in the configuration passed to Commons Configuration without properly sanitizing it would allow an attacker to trigger those interpolators. For that reason, the Apache Commons Configuration team decided to update the list of interpolators enabled by default to be more conservative, so that the impact of a failure to validate inputs is mitigated and will not give an attacker access to these interpolators. However, it is still recommended that users treat untrusted input with care. We're not currently aware of any applications that load untrusted input as configuration and thus would have been impacted by this problem before Apache Commons Configuration 2.8.0. This issue is different from Log4Shell (CVE-2021-44228) because in Log4Shell, string interpolation was possible from the log message body, which commonly contains untrusted input. In the Apache Common Configuration issue, the processed configuration data is much less likely to come from an untrusted source. Credit: this issue was reported by @pwntester (Alvaro Muñoz) of the GitHub Security Lab team . Thank you! References: CVE-2024-29131 prior to 2.10.1, Out-of-bounds Write vulnerabilityOn 2024-03-20, the Apache Commons Configuration team disclosed CVE-2024-29131.
This Out-of-bounds Write vulnerability in Apache Commons Configuration affects Apache Commons Configuration: from 2.0 before 2.10.1.
Users can see this as a CVE-2024-29133 prior to 2.10.1, Out-of-bounds Write vulnerabilityOn 2024-03-20, the Apache Commons Configuration team disclosed CVE-2024-29133.
This Out-of-bounds Write vulnerability in Apache Commons Configuration affects Apache Commons Configuration: from 2.0 before 2.10.1.
Users can see this as a |