Skip to content

CVE-2021-29425 (Medium) detected in commons-io-2.2.jar #18

@mend-for-github-com

Description

@mend-for-github-com

CVE-2021-29425 - Medium Severity Vulnerability

Vulnerable Library - commons-io-2.2.jar

The Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.

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

Path to dependency file: /plugin-maven/pom.xml

Path to vulnerable library: /plugin-maven/pom.xml

Dependency Hierarchy:

  • maven-core-3.6.0.jar (Root Library)
    • maven-shared-utils-3.2.1.jar
      • commons-io-2.2.jar (Vulnerable Library)

Found in HEAD commit: caa1893aca39ac0610637f8a8c3cfc1c28d32304

Found in base branch: master

Vulnerability Details

In Apache Commons IO before 2.7, When invoking the method FileNameUtils.normalize with an improper input string, like "//../foo", or "\..\foo", the result would be the same value, thus possibly providing access to files in the parent directory, but not further above (thus "limited" path traversal), if the calling code would use the result to construct a path value.

Publish Date: 2021-04-13

URL: CVE-2021-29425

CVSS 3 Score Details (4.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29425

Release Date: 2021-04-13

Fix Resolution (commons-io:commons-io): 2.7

Direct dependency fix Resolution (org.apache.maven:maven-core): 3.8.2


⛑️ Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions