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-2018-15756 (High, reachable) detected in spring-web-4.2.0.RELEASE.jar #80

Open
dev-mend-for-github-com bot opened this issue Apr 24, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@dev-mend-for-github-com
Copy link

dev-mend-for-github-com bot commented Apr 24, 2023

CVE-2018-15756 - High Severity Vulnerability

Vulnerable Library - spring-web-4.2.0.RELEASE.jar

Spring Web

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/4.2.0.RELEASE/spring-web-4.2.0.RELEASE.jar

Dependency Hierarchy:

  • spring-web-4.2.0.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 2c2c9f752b1dec579a12ba0bcc3d8dab738d7cff

Found in base branch: vp-rem

Reachability Analysis This vulnerability is potentially reachable
com.visualpathit.account.controller.FileUploadController (Application)
  -> org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile (Extension)
   -> org.springframework.web.multipart.support.StandardMultipartHttpServletRequest (Extension)
    -> org.springframework.http.HttpHeaders (Extension)
     -> ❌ org.springframework.http.HttpRange (Vulnerable Component)

Vulnerability Details

Spring Framework, version 5.1, versions 5.0.x prior to 5.0.10, versions 4.3.x prior to 4.3.20, and older unsupported versions on the 4.2.x branch provide support for range requests when serving static resources through the ResourceHttpRequestHandler, or starting in 5.0 when an annotated controller returns an org.springframework.core.io.Resource. A malicious user (or attacker) can add a range header with a high number of ranges, or with wide ranges that overlap, or both, for a denial of service attack. This vulnerability affects applications that depend on either spring-webmvc or spring-webflux. Such applications must also have a registration for serving static resources (e.g. JS, CSS, images, and others), or have an annotated controller that returns an org.springframework.core.io.Resource. Spring Boot applications that depend on spring-boot-starter-web or spring-boot-starter-webflux are ready to serve static resources out of the box and are therefore vulnerable.

Publish Date: 2018-10-16

URL: CVE-2018-15756

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://pivotal.io/security/cve-2018-15756

Release Date: 2018-10-16

Fix Resolution: 4.3.20.RELEASE


⛑️ Automatic Remediation will be attempted for this issue.

@dev-mend-for-github-com dev-mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Apr 24, 2023
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title CVE-2018-15756 (High, reachable) detected in spring-web-4.2.0.RELEASE.jar CVE-2018-15756 (High) detected in spring-web-4.2.0.RELEASE.jar Jan 1, 2025
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title CVE-2018-15756 (High) detected in spring-web-4.2.0.RELEASE.jar CVE-2018-15756 (High, reachable) detected in spring-web-4.2.0.RELEASE.jar Jan 6, 2025
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