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-boot-starter-web-3.3.2.jar: 4 vulnerabilities (highest severity is: 9.8) #4

Open
mend-bolt-for-github bot opened this issue Sep 10, 2024 · 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 Sep 10, 2024

Vulnerable Library - spring-boot-starter-web-3.3.2.jar

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/10.1.26/5e0fa06ca373ef0ca55e603291ea51b590c377ea/tomcat-embed-core-10.1.26.jar

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-web version) Remediation Possible**
CVE-2024-52316 Critical 9.8 tomcat-embed-core-10.1.26.jar Transitive 3.3.5
CVE-2024-38819 High 7.5 spring-webmvc-6.1.11.jar Transitive 3.3.5
CVE-2024-38816 High 7.5 spring-webmvc-6.1.11.jar Transitive 3.3.4
CVE-2024-52317 Medium 6.5 tomcat-embed-core-10.1.26.jar Transitive 3.3.5

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-52316

Vulnerable Library - tomcat-embed-core-10.1.26.jar

Core Tomcat implementation

Library home page: https://tomcat.apache.org/

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/10.1.26/5e0fa06ca373ef0ca55e603291ea51b590c377ea/tomcat-embed-core-10.1.26.jar

Dependency Hierarchy:

  • spring-boot-starter-web-3.3.2.jar (Root Library)
    • spring-boot-starter-tomcat-3.3.2.jar
      • tomcat-embed-core-10.1.26.jar (Vulnerable Library)

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

Found in base branch: main

Vulnerability Details

Unchecked Error Condition vulnerability in Apache Tomcat. If Tomcat is configured to use a custom Jakarta Authentication (formerly JASPIC) ServerAuthContext component which may throw an exception during the authentication process without explicitly setting an HTTP status to indicate failure, the authentication may not fail, allowing the user to bypass the authentication process. There are no known Jakarta Authentication components that behave in this way.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M26, from 10.1.0-M1 through 10.1.30, from 9.0.0-M1 through 9.0.95.
Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fix the issue.

Publish Date: 2024-11-18

URL: CVE-2024-52316

CVSS 3 Score Details (9.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tomcat.apache.org/security-11.html

Release Date: 2024-11-18

Fix Resolution (org.apache.tomcat.embed:tomcat-embed-core): 10.1.31

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.3.5

Step up your Open Source Security Game with Mend here

CVE-2024-38819

Vulnerable Library - spring-webmvc-6.1.11.jar

Spring Web MVC

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/6.1.11/9ec4c2a5e28bf7b2d60e254e976940b12c8ba32a/spring-webmvc-6.1.11.jar

Dependency Hierarchy:

  • spring-boot-starter-web-3.3.2.jar (Root Library)
    • spring-webmvc-6.1.11.jar (Vulnerable Library)

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

Found in base branch: main

Vulnerability Details

Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.

This is similar to CVE-2024-38816, but with different input.

Publish Date: 2024-06-20

URL: CVE-2024-38819

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: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2024-38819

Release Date: 2024-06-20

Fix Resolution (org.springframework:spring-webmvc): 6.1.14

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.3.5

Step up your Open Source Security Game with Mend here

CVE-2024-38816

Vulnerable Library - spring-webmvc-6.1.11.jar

Spring Web MVC

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/6.1.11/9ec4c2a5e28bf7b2d60e254e976940b12c8ba32a/spring-webmvc-6.1.11.jar

Dependency Hierarchy:

  • spring-boot-starter-web-3.3.2.jar (Root Library)
    • spring-webmvc-6.1.11.jar (Vulnerable Library)

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

Found in base branch: main

Vulnerability Details

Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.

Specifically, an application is vulnerable when both of the following are true:

  • the web application uses RouterFunctions to serve static resources
  • resource handling is explicitly configured with a FileSystemResource location

However, malicious requests are blocked and rejected when any of the following is true:

Publish Date: 2024-09-13

URL: CVE-2024-38816

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: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2024-38816

Release Date: 2024-09-13

Fix Resolution (org.springframework:spring-webmvc): 6.1.13

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.3.4

Step up your Open Source Security Game with Mend here

CVE-2024-52317

Vulnerable Library - tomcat-embed-core-10.1.26.jar

Core Tomcat implementation

Library home page: https://tomcat.apache.org/

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/10.1.26/5e0fa06ca373ef0ca55e603291ea51b590c377ea/tomcat-embed-core-10.1.26.jar

Dependency Hierarchy:

  • spring-boot-starter-web-3.3.2.jar (Root Library)
    • spring-boot-starter-tomcat-3.3.2.jar
      • tomcat-embed-core-10.1.26.jar (Vulnerable Library)

Found in HEAD commit: ec97c69a2b236b5bcf79b627e46e1d42617fc207

Found in base branch: main

Vulnerability Details

Incorrect object re-cycling and re-use vulnerability in Apache Tomcat. Incorrect recycling of the request and response used by HTTP/2 requests
could lead to request and/or response mix-up between users.
This issue affects Apache Tomcat: from 11.0.0-M23 through 11.0.0-M26, from 10.1.27 through 10.1.30, from 9.0.92 through 9.0.95.
Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fixes the issue.

Publish Date: 2024-11-18

URL: CVE-2024-52317

CVSS 3 Score Details (6.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tomcat.apache.org/security-11.html

Release Date: 2024-11-18

Fix Resolution (org.apache.tomcat.embed:tomcat-embed-core): 10.1.31

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.3.5

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 Sep 10, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-boot-starter-web-3.3.2.jar: 1 vulnerabilities (highest severity is: 6.5) spring-boot-starter-web-3.3.2.jar: 2 vulnerabilities (highest severity is: 7.5) Sep 17, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-boot-starter-web-3.3.2.jar: 2 vulnerabilities (highest severity is: 7.5) spring-boot-starter-web-3.3.2.jar: 3 vulnerabilities (highest severity is: 7.5) Oct 20, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-boot-starter-web-3.3.2.jar: 3 vulnerabilities (highest severity is: 7.5) spring-boot-starter-web-3.3.2.jar: 2 vulnerabilities (highest severity is: 7.5) Oct 26, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-boot-starter-web-3.3.2.jar: 2 vulnerabilities (highest severity is: 7.5) spring-boot-starter-web-3.3.2.jar: 4 vulnerabilities (highest severity is: 7.5) Nov 18, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title spring-boot-starter-web-3.3.2.jar: 4 vulnerabilities (highest severity is: 7.5) spring-boot-starter-web-3.3.2.jar: 4 vulnerabilities (highest severity is: 9.8) Nov 20, 2024
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