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

spring-cloud-starter-openfeign-3.0.7.jar: 2 vulnerabilities (highest severity is: 7.5) #111

Open
mend-bolt-for-github bot opened this issue Jan 2, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jan 2, 2023

Vulnerable Library - spring-cloud-starter-openfeign-3.0.7.jar

Path to dependency file: /ectemplate-service-oauth/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.4/commons-fileupload-1.4.jar

Found in HEAD commit: e54037a286f77b9a9306be1958651c7e3d375706

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-cloud-starter-openfeign version) Remediation Available
CVE-2023-24998 High 7.5 commons-fileupload-1.4.jar Transitive N/A*
CVE-2021-29425 Medium 4.8 commons-io-2.2.jar Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

Details

CVE-2023-24998

Vulnerable Library - commons-fileupload-1.4.jar

The Apache Commons FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.

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

Path to dependency file: /ectemplate-service-oauth/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/commons-fileupload/commons-fileupload/1.4/commons-fileupload-1.4.jar

Dependency Hierarchy:

  • spring-cloud-starter-openfeign-3.0.7.jar (Root Library)
    • spring-cloud-openfeign-core-3.0.7.jar
      • feign-form-spring-3.8.0.jar
        • commons-fileupload-1.4.jar (Vulnerable Library)

Found in HEAD commit: e54037a286f77b9a9306be1958651c7e3d375706

Found in base branch: main

Vulnerability Details

Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads. Note that, like all of the file upload limits, the new configuration option (FileUploadBase#setFileCountMax) is not enabled by default and must be explicitly configured.

Publish Date: 2023-02-20

URL: CVE-2023-24998

CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://seclists.org/oss-sec/2023/q1/108

Release Date: 2023-02-20

Fix Resolution: commons-fileupload:commons-fileupload:1.5;org.apache.tomcat:tomcat-coyote:8.5.85,9.0.71,10.1.5

Step up your Open Source Security Game with Mend here

CVE-2021-29425

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

Path to dependency file: /ectemplate-service-oauth/pom.xml

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

Dependency Hierarchy:

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

Found in HEAD commit: e54037a286f77b9a9306be1958651c7e3d375706

Found in base branch: main

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

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jan 2, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-cloud-starter-openfeign-3.0.7.jar: 1 vulnerabilities (highest severity is: 4.8) spring-cloud-starter-openfeign-3.0.7.jar: 2 vulnerabilities (highest severity is: 5.5) Feb 22, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-cloud-starter-openfeign-3.0.7.jar: 2 vulnerabilities (highest severity is: 5.5) spring-cloud-starter-openfeign-3.0.7.jar: 2 vulnerabilities (highest severity is: 7.5) Mar 24, 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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants