CVE-2015-7501
Deserialization of Untrusted Data in Apache commons collections
Description
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 Maven artifacts (5)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| commons-collections » commons-collections | < 3.2.2 | 3.2.2 |
| net.sourceforge.collections » collections-generic | See advisory | - |
| org.apache.commons » commons-collections4 | < 4.1 | 4.1 |
| org.apache.servicemix.bundles » org.apache.servicemix.bundles.collections-generic | >= 4.01 | - |
| org.apache.servicemix.bundles » org.apache.servicemix.bundles.commons-collections | >= 3.2.1 | - |
Blast radius
62% of the dependent artifacts (33,991) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 106,386 |
| 2 hops | 725,559 |
| 3 hops | 779,281 |
| 4 hops | 487,078 |
| 5 hops | 266,170 |
| 6 hops | 112,278 |
Most used dependents
- org.apache.maven.plugins » maven-javadoc-plugin84,916 usages
- org.sonatype.plugins » nexus-staging-maven-plugin36,701 usages
- org.apache.felix » maven-bundle-plugin31,882 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.scalatest » scalatest20,465 usages
- org.jacoco » jacoco-maven-plugin19,077 usages
- org.springframework » spring-context18,670 usages
- org.springframework » spring-web12,086 usages
- org.apache.maven.plugins » maven-checkstyle-plugin11,720 usages
- org.springframework » spring-core10,287 usages
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.springframework » spring-beans8,721 usages
- org.codehaus.mojo » exec-maven-plugin8,105 usages
- org.springframework » spring-webmvc7,538 usages
- commons-beanutils » commons-beanutils6,655 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2015-7501
- Webhttps://access.redhat.com/security/vulnerabilities/2059393
- Webhttps://access.redhat.com/solutions/2045023
- Webhttps://arxiv.org/pdf/2306.05534.pdf
- Webhttps://bugzilla.redhat.com/show_bug.cgi?id=1279330
- Webhttps://commons.apache.org/proper/commons-collections/release_4_1.html
- Webhttps://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability
- Packagehttps://github.com/apache/commons-collections
- Webhttps://github.com/jensdietrich/xshady-release/tree/main/CVE-2015-7501
- Webhttps://issues.apache.org/jira/browse/COLLECTIONS-580.
- Webhttps://sourceforge.net/p/collections/code/HEAD/tree
- Webhttp://rhn.redhat.com/errata/RHSA-2016-1773.html
