Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2021-29425 (Medium) detected in commons-io-2.5.jar #259

Open
1 task
mend-for-github-com bot opened this issue Jan 5, 2023 · 0 comments
Open
1 task

CVE-2021-29425 (Medium) detected in commons-io-2.5.jar #259

mend-for-github-com bot opened this issue Jan 5, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Jan 5, 2023

CVE-2021-29425 - Medium Severity Vulnerability

Vulnerable Library - commons-io-2.5.jar

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

Library home page: http://commons.apache.org/proper/commons-io/

Path to dependency file: /apps/rest-showcase/pom.xml

Path to vulnerable library: /root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/epository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/epository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar,/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar

Dependency Hierarchy:

  • commons-io-2.5.jar (Vulnerable Library)

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: 2.7


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants