TreyM-WSS / Struts2-Examples

Struts2 Examples
0 stars 0 forks source link

CVE-2021-29425 (Medium) detected in commons-io-2.0.1.jar, commons-io-1.3.2.jar #161

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2021-29425 - Medium Severity Vulnerability

Vulnerable Libraries - commons-io-2.0.1.jar, commons-io-1.3.2.jar

commons-io-2.0.1.jar

Commons-IO contains utility classes, stream implementations, file filters, file comparators and endian classes.

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

Path to dependency file: /Struts2Junit4/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar,/Struts2Convention/target/Struts2Convention/WEB-INF/lib/commons-io-2.0.1.jar,/Struts2JsonValidation/target/Struts2JsonValidation-1.0/WEB-INF/lib/commons-io-2.0.1.jar,/Struts2MavenSample/target/Struts2MavenSample-1.0/WEB-INF/lib/commons-io-2.0.1.jar,/Struts2Spring3Hibernate/target/Struts2Spring3Hibernate3/WEB-INF/lib/commons-io-2.0.1.jar,/home/wss-scanner/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar,/home/wss-scanner/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar,/Struts2Junit4/target/Struts2Junit4-1.0/WEB-INF/lib/commons-io-2.0.1.jar,/Struts2MessageStoreExample/target/Struts2MessageStoreExample/WEB-INF/lib/commons-io-2.0.1.jar,/home/wss-scanner/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar,/Struts2RestConvention/target/Struts2Rest/WEB-INF/lib/commons-io-2.0.1.jar,/home/wss-scanner/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar,/home/wss-scanner/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar,/home/wss-scanner/.m2/repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar

Dependency Hierarchy: - :x: **commons-io-2.0.1.jar** (Vulnerable Library)

commons-io-1.3.2.jar

Commons-IO contains utility classes, stream implementations, file filters, and endian classes.

Library home page: http://jakarta.apache.org/commons/io/

Path to dependency file: /Struts2RemeberMeMaven/pom.xml

Path to vulnerable library: /Struts2RemeberMeMaven/target/Struts2RemeberMeMaven/WEB-INF/lib/commons-io-1.3.2.jar,/home/wss-scanner/.m2/repository/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar

Dependency Hierarchy: - :x: **commons-io-1.3.2.jar** (Vulnerable Library)

Found in HEAD commit: d49e468d6ad1e11f51e67b88d561d00b8666b36f

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


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

mend-for-github-com[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

mend-for-github-com[bot] commented 1 year ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.