Skip to content

commons-lang-2.6.jar: 2 vulnerabilities (highest severity is: 9.8) reachable #45

Description

@dev-mend-for-github-com
Vulnerable Library - commons-lang-2.6.jar

Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.

Library home page: http://www.apache.org/

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar

Found in HEAD commit: 3fb13535ce3a5993f2bc2b02a3ece468e691a942

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (commons-lang version) Remediation Possible** Reachability
CVE-2025-48924 Medium 5.3 commons-lang-2.6.jar Direct https://github.com/apache/commons-lang.git - commons-lang-3.18.0,org.apache.commons:commons-lang3:3.18.0

Reachable

CVE-842749-413332 Critical 9.8 commons-lang-2.6.jar Direct N/A

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2025-48924

Vulnerable Library - commons-lang-2.6.jar

Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.

Library home page: http://www.apache.org/

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar

Dependency Hierarchy:

  • commons-lang-2.6.jar (Vulnerable Library)

Found in HEAD commit: 3fb13535ce3a5993f2bc2b02a3ece468e691a942

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.benchmark.helpers.LDAPServer (Application)
  -> org.apache.directory.server.ldap.LdapServer (Extension)
   -> org.apache.directory.server.core.security.CoreKeyStoreSpi (Extension)
    -> org.apache.commons.lang.ArrayUtils (Extension)
     -> org.apache.commons.lang.builder.ToStringStyle (Extension)
      -> ❌ org.apache.commons.lang.ClassUtils (Vulnerable Component)

Vulnerability Details

Uncontrolled Recursion vulnerability in Apache Commons Lang.
This issue affects Apache Commons Lang: Starting with commons-lang:commons-lang 2.0 to 2.6, and, from org.apache.commons:commons-lang3 3.0 before 3.18.0.
The methods ClassUtils.getClass(...) can throw StackOverflowError on very long inputs. Because an Error is usually not handled by applications and libraries, a
StackOverflowError could cause an application to stop.
Users are recommended to upgrade to version 3.18.0, which fixes the issue.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2025-07-11

URL: CVE-2025-48924

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-07-11

Fix Resolution: https://github.com/apache/commons-lang.git - commons-lang-3.18.0,org.apache.commons:commons-lang3:3.18.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-842749-413332

Vulnerable Library - commons-lang-2.6.jar

Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.

Library home page: http://www.apache.org/

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar

Dependency Hierarchy:

  • commons-lang-2.6.jar (Vulnerable Library)

Found in HEAD commit: 3fb13535ce3a5993f2bc2b02a3ece468e691a942

Found in base branch: master

Vulnerability Details

Created automatically by the test suite

Publish Date: 2010-06-07

URL: CVE-842749-413332

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions