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.2.jar, commons-io-2.4.jar #17

Open
mend-bolt-for-github bot opened this issue May 17, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented May 17, 2021

CVE-2021-29425 - Medium Severity Vulnerability

Vulnerable Libraries - commons-io-2.2.jar, commons-io-2.4.jar

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://commons.apache.org/io/

Path to dependency file: ecossistemas/hr-oauth/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar,/home/wss-scanner/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar

Dependency Hierarchy:

  • spring-cloud-starter-openfeign-2.2.8.RELEASE.jar (Root Library)
    • spring-cloud-openfeign-core-2.2.8.RELEASE.jar
      • feign-form-spring-3.8.0.jar
        • commons-fileupload-1.4.jar
          • commons-io-2.2.jar (Vulnerable Library)
commons-io-2.4.jar

The 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/io/

Path to dependency file: ecossistemas/hr-api-gateway-zuul/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar

Dependency Hierarchy:

  • spring-cloud-starter-netflix-zuul-2.2.8.RELEASE.jar (Root Library)
    • zuul-core-1.3.1.jar
      • commons-io-2.4.jar (Vulnerable Library)

Found in HEAD commit: e15b11f25c09db87ec8d05d57b6e62f1bb4856a0

Found in base branch: develop

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 (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: Low
    • Integrity Impact: None
    • 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


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label May 17, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-29425 (Medium) detected in commons-io-2.2.jar, commons-io-2.4.jar CVE-2021-29425 (Medium) detected in multiple libraries May 17, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-29425 (Medium) detected in multiple libraries CVE-2021-29425 (Medium) detected in commons-io-2.2.jar, commons-io-2.4.jar May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants