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-web-4.2.1.RELEASE.jar: 6 vulnerabilities (highest severity is: 9.8) reachable #25

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

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Apr 18, 2023

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

Spring Web

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

Path to dependency file: /pom.xml

Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/springframework/spring-web/4.2.1.RELEASE/spring-web-4.2.1.RELEASE.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-web version) Remediation Possible** Reachability
CVE-2015-5211 High 8.6 spring-web-4.2.1.RELEASE.jar Direct org.springframework:spring-web:4.2.2.RELEASE,4.1.8.RELEASE,3.2.15.RELEASE,org.springframework:spring-webmvc:4.2.2.RELEASE,4.1.8.RELEASE,3.2.15.RELEASE,org.springframework:spring-websocket:4.2.2.RELEASE,4.1.8.RELEASE,3.2.15.RELEASE

Reachable

CVE-2018-15756 High 7.5 spring-web-4.2.1.RELEASE.jar Direct 4.3.20,5.0.10,5.1.1

Reachable

CVE-2018-1272 High 7.5 spring-core-4.2.1.RELEASE.jar Transitive N/A*

Reachable

CVE-2023-20863 Medium 6.5 spring-expression-4.2.1.RELEASE.jar Transitive 5.0.0.RELEASE

Reachable

CVE-2022-22950 Medium 6.5 spring-expression-4.2.1.RELEASE.jar Transitive 5.0.0.RELEASE

Reachable

CVE-2016-1000027 High 9.8 spring-web-4.2.1.RELEASE.jar Direct 4.3.26.RELEASE

Unreachable

*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-2015-5211

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

Spring Web

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

Path to dependency file: /pom.xml

Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/springframework/spring-web/4.2.1.RELEASE/spring-web-4.2.1.RELEASE.jar

Dependency Hierarchy:

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

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.validator.UserValidator (Application)
  -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport$NoOpValidator (Extension)
   -> org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport (Extension)
    -> ❌ org.springframework.web.util.UrlPathHelper (Vulnerable Component)

Vulnerability Details

Under some situations, the Spring Framework 4.2.0 to 4.2.1, 4.0.0 to 4.1.7, 3.2.0 to 3.2.14 and older unsupported versions is vulnerable to a Reflected File Download (RFD) attack. The attack involves a malicious user crafting a URL with a batch script extension that results in the response being downloaded rather than rendered and also includes some input reflected in the response.

Publish Date: 2017-05-25

URL: CVE-2015-5211

CVSS 3 Score Details (8.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5211

Release Date: 2017-05-25

Fix Resolution: org.springframework:spring-web:4.2.2.RELEASE,4.1.8.RELEASE,3.2.15.RELEASE,org.springframework:spring-webmvc:4.2.2.RELEASE,4.1.8.RELEASE,3.2.15.RELEASE,org.springframework:spring-websocket:4.2.2.RELEASE,4.1.8.RELEASE,3.2.15.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2018-15756

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

Spring Web

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

Path to dependency file: /pom.xml

Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/springframework/spring-web/4.2.1.RELEASE/spring-web-4.2.1.RELEASE.jar

Dependency Hierarchy:

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

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-18

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-18

Fix Resolution: 4.3.20,5.0.10,5.1.1

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2018-1272

Vulnerable Library - spring-core-4.2.1.RELEASE.jar

Spring Core

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

Path to dependency file: /pom.xml

Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/springframework/spring-core/4.2.1.RELEASE/spring-core-4.2.1.RELEASE.jar

Dependency Hierarchy:

  • spring-web-4.2.1.RELEASE.jar (Root Library)
    • spring-aop-4.2.1.RELEASE.jar
      • spring-beans-4.2.1.RELEASE.jar
        • spring-core-4.2.1.RELEASE.jar (Vulnerable Library)

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.validator.UserValidator (Application)
  -> org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration$1 (Extension)
   -> org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration (Extension)
    -> ❌ org.springframework.util.MimeTypeUtils (Vulnerable Component)

Vulnerability Details

Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, provide client-side support for multipart requests. When Spring MVC or Spring WebFlux server application (server A) receives input from a remote client, and then uses that input to make a multipart request to another server (server B), it can be exposed to an attack, where an extra multipart is inserted in the content of the request from server A, causing server B to use the wrong value for a part it expects. This could to lead privilege escalation, for example, if the part content represents a username or user roles.

Publish Date: 2018-04-06

URL: CVE-2018-1272

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • 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://tanzu.vmware.com/security/cve-2018-1272

Release Date: 2018-04-06

Fix Resolution: org.springframework:spring-core:4.3.15.RELEASE,5.0.5.RELEASE;org.springframework:spring-web:4.3.15.RELEASE,5.0.5.RELEASE

CVE-2023-20863

Vulnerable Library - spring-expression-4.2.1.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /pom.xml

Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/springframework/spring-expression/4.2.1.RELEASE/spring-expression-4.2.1.RELEASE.jar

Dependency Hierarchy:

  • spring-web-4.2.1.RELEASE.jar (Root Library)
    • spring-context-4.2.1.RELEASE.jar
      • spring-expression-4.2.1.RELEASE.jar (Vulnerable Library)

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.service.UserDetailsServiceImpl (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$UserDetailsServiceDelegator (Extension)
   -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter (Extension)
    -> org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer (Extension)
    ...
      -> org.springframework.security.access.expression.AbstractSecurityExpressionHandler (Extension)
       -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension)
        -> ❌ org.springframework.expression.spel.standard.InternalSpelExpressionParser (Vulnerable Component)

Vulnerability Details

In spring framework versions prior to 5.2.24 release+ ,5.3.27+ and 6.0.8+ , it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Publish Date: 2023-04-13

URL: CVE-2023-20863

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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://spring.io/security/cve-2023-20863

Release Date: 2023-04-13

Fix Resolution (org.springframework:spring-expression): 5.2.24.RELEASE

Direct dependency fix Resolution (org.springframework:spring-web): 5.0.0.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-22950

Vulnerable Library - spring-expression-4.2.1.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /pom.xml

Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/springframework/spring-expression/4.2.1.RELEASE/spring-expression-4.2.1.RELEASE.jar

Dependency Hierarchy:

  • spring-web-4.2.1.RELEASE.jar (Root Library)
    • spring-context-4.2.1.RELEASE.jar
      • spring-expression-4.2.1.RELEASE.jar (Vulnerable Library)

Found in base branch: vp-rem

Reachability Analysis

This vulnerability is potentially reachable

com.visualpathit.account.service.UserDetailsServiceImpl (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$UserDetailsServiceDelegator (Extension)
   -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter (Extension)
    -> org.springframework.context.support.AbstractApplicationContext (Extension)
     -> org.springframework.context.expression.StandardBeanExpressionResolver (Extension)
      -> org.springframework.expression.spel.support.StandardTypeLocator (Extension)
       -> ❌ org.springframework.expression.spel.SpelMessage (Vulnerable Component)

Vulnerability Details

n Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial of service condition.

Publish Date: 2022-04-02

URL: CVE-2022-22950

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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://tanzu.vmware.com/security/cve-2022-22950

Release Date: 2022-04-02

Fix Resolution (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (org.springframework:spring-web): 5.0.0.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2016-1000027

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

Spring Web

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

Path to dependency file: /pom.xml

Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/springframework/spring-web/4.2.1.RELEASE/spring-web-4.2.1.RELEASE.jar

Dependency Hierarchy:

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

Found in base branch: vp-rem

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

Pivotal Spring Framework through 5.3.16 suffers from a potential remote code execution (RCE) issue if used for Java deserialization of untrusted data. Depending on how the library is implemented within a product, this issue may or not occur, and authentication may be required. NOTE: the vendor's position is that untrusted data is not an intended use case. The product's behavior will not be changed because some users rely on deserialization of trusted data.
Mend Note: After conducting further research, Mend has determined that all versions of spring-web up to version 6.0.0 are vulnerable to CVE-2016-1000027.

Publish Date: 2020-01-03

URL: CVE-2016-1000027

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: GHSA-4wrc-f8pq-fpqp

Release Date: 2020-01-03

Fix Resolution: 4.3.26.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Apr 18, 2023
@mend-local-app mend-local-app bot changed the title spring-web-4.2.1.RELEASE.jar: 11 vulnerabilities (highest severity is: 9.8) reachable spring-web-4.2.1.RELEASE.jar: 5 vulnerabilities (highest severity is: 9.8) May 2, 2023
@mend-local-app mend-local-app bot changed the title spring-web-4.2.1.RELEASE.jar: 5 vulnerabilities (highest severity is: 9.8) spring-web-4.2.1.RELEASE.jar: 5 vulnerabilities (highest severity is: 9.8) reachable May 3, 2023
@mend-local-app mend-local-app bot changed the title spring-web-4.2.1.RELEASE.jar: 5 vulnerabilities (highest severity is: 9.8) reachable spring-web-4.2.1.RELEASE.jar: 7 vulnerabilities (highest severity is: 9.8) reachable Nov 22, 2023
@mend-local-app mend-local-app bot changed the title spring-web-4.2.1.RELEASE.jar: 7 vulnerabilities (highest severity is: 9.8) reachable spring-web-4.2.1.RELEASE.jar: 7 vulnerabilities (highest severity is: 9.8) Feb 26, 2024
@mend-local-app mend-local-app bot changed the title spring-web-4.2.1.RELEASE.jar: 7 vulnerabilities (highest severity is: 9.8) spring-web-4.2.1.RELEASE.jar: 5 vulnerabilities (highest severity is: 9.8) unreachable Mar 20, 2024
@mend-local-app mend-local-app bot changed the title spring-web-4.2.1.RELEASE.jar: 5 vulnerabilities (highest severity is: 9.8) unreachable spring-web-4.2.1.RELEASE.jar: 6 vulnerabilities (highest severity is: 9.8) reachable May 27, 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