Loading...
Skip to main content

CVE-2015-7501 — Deserialization of Untrusted Data in...

CRITICAL

Deserialization of Untrusted Data in Apache commons collections

Published May 13, 2022Updated February 17, 2024Source: osv

Summary

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.

Advisory Timeline

  • First published May 13, 2022 (1613 days ago).
  • Last revised February 17, 2024 — 645 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update commons-collections:commons-collections to 3.2.2 or later
<!-- Update pom.xml dependency version to 3.2.2 for commons-collections:commons-collections -->
Maven
Update org.apache.commons:commons-collections4 to 4.1 or later
<!-- Update pom.xml dependency version to 4.1 for org.apache.commons:commons-collections4 -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: maven (5).

PackageEcosystemAffectedFixed In
commons-collections:commons-collections
maven
1.0, 2.0, 2.0.20020914.015953, 2.0.20020914.020746 (+8 more)3.2.2
net.sourceforge.collections:collections-generic
maven
4.01No fix available
org.apache.commons:commons-collections4
maven
4.04.1
org.apache.servicemix.bundles:org.apache.servicemix.bundles.collections-generic
maven
4.01_1Range-based data available
org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-collections
maven
3.2.1_1, 3.2.1_2, 3.2.1_3Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2015-7501?
Deserialization of Untrusted Data in Apache commons collections This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2015-7501?
CVE-2015-7501 affects commons-collections:commons-collections, net.sourceforge.collections:collections-generic and org.apache.commons:commons-collections4 (and 2 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2015-7501 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-fjq5-5j5f-mvxh

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies