GitHub Advisory Database
GHSA-fjq5-5j5f-mvxh
Deserialization of Untrusted Data in Apache commons collections
Details
It was found that the Apache commons-collections library permitted code execution when deserializing objects involving a specially constructed chain of classes. A remote attacker could use this flaw to execute arbitrary code with the permissions of the application using the commons-collections library.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | commons-collections:commons-collections | All versions before 3.2.2 (fixed in 3.2.2) |
| Maven | org.apache.commons:commons-collections4 | All versions before 4.1 (fixed in 4.1) |
| Maven | org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-collections | From 3.2.1, no fix listed |
| Maven | net.sourceforge.collections:collections-generic | 4.01 |
| Maven | org.apache.servicemix.bundles:org.apache.servicemix.bundles.collections-generic | From 4.01, no fix listed |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-7501
- https://access.redhat.com/security/vulnerabilities/2059393
- https://access.redhat.com/solutions/2045023
- https://arxiv.org/pdf/2306.05534.pdf
- https://bugzilla.redhat.com/show_bug.cgi?id=1279330
- https://commons.apache.org/proper/commons-collections/release_4_1.html
- https://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability
- https://github.com/apache/commons-collections
- https://github.com/jensdietrich/xshady-release/tree/main/CVE-2015-7501
- https://issues.apache.org/jira/browse/COLLECTIONS-580.
- https://sourceforge.net/p/collections/code/HEAD/tree
- http://rhn.redhat.com/errata/RHSA-2016-1773.html