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.4.jar: 1 vulnerabilities (highest severity is: 7.5) #9531

Closed
mend-bolt-for-github bot opened this issue Oct 20, 2024 · 2 comments
Assignees
Labels
assessment Pull requests that affect the corresponding module core Pull requests that affect the corresponding module iris Pull requests that affect the corresponding module Mend: dependency security vulnerability Security vulnerability detected by Mend programming Pull requests that affect the corresponding module

Comments

@mend-bolt-for-github
Copy link

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

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.13/ca5f025b133c69026bfe01daa6132d0ac2e4a59f/spring-webmvc-6.1.13.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-web version) Remediation Possible**
CVE-2024-38819 High 7.5 spring-webmvc-6.1.13.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.

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

Details

CVE-2024-38819

Vulnerable Library - spring-webmvc-6.1.13.jar

Spring Web MVC

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

Path to dependency file: /supporting_scripts/analysis-of-endpoint-connections/build.gradle

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

Dependency Hierarchy:

  • spring-boot-starter-web-3.3.4.jar (Root Library)
    • spring-webmvc-6.1.13.jar (Vulnerable Library)

Found in base branch: develop

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-webflux:6.1.14, org.springframework:spring-webmvc:6.1.14

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 Oct 20, 2024
@github-actions github-actions bot added assessment Pull requests that affect the corresponding module core Pull requests that affect the corresponding module iris Pull requests that affect the corresponding module programming Pull requests that affect the corresponding module labels Oct 20, 2024
@krusche krusche self-assigned this Oct 20, 2024
@krusche
Copy link
Member

krusche commented Oct 20, 2024

We explicitly use spring-webmvc:6.1.14 in build.gradle since it was released 3 days ago.
We do not use spring-webflux.

@krusche krusche closed this as completed Oct 20, 2024
@krusche
Copy link
Member

krusche commented Oct 20, 2024

I assume that spring boot 3.3.5 will be released soon to update the respective dependencies. We will then also quickly update to the latest spring boot version (seems they will be released soon https://spring.io/blog/2024/10/18/spring-data-2024-0-5-and-2023-1-11-released and https://github.com/spring-projects/spring-boot/milestone/359)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assessment Pull requests that affect the corresponding module core Pull requests that affect the corresponding module iris Pull requests that affect the corresponding module Mend: dependency security vulnerability Security vulnerability detected by Mend programming Pull requests that affect the corresponding module
Projects
None yet
Development

No branches or pull requests

1 participant