amaybaum-dev / verademo

A deliberately insecure Java web application
MIT License
0 stars 3 forks source link

spring-expression-5.2.7.RELEASE.jar: 3 vulnerabilities (highest severity is: 6.5) reachable - autoclosed #29

Closed dev-mend-for-github-com[bot] closed 1 year ago

dev-mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - spring-expression-5.2.7.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /WEB-INF/lib/spring-expression-5.2.7.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.2.7.RELEASE/spring-expression-5.2.7.RELEASE.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-expression version) Remediation Possible** Reachability
CVE-2022-22950 Medium 6.5 spring-expression-5.2.7.RELEASE.jar Direct 5.2.20.RELEASE

CVE-2023-20861 Medium 6.5 spring-expression-5.2.7.RELEASE.jar Direct 5.2.23.RELEASE

CVE-2023-20863 Medium 6.5 spring-expression-5.2.7.RELEASE.jar Direct 5.2.24.RELEASE

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

Details

CVE-2022-22950 ### Vulnerable Library - spring-expression-5.2.7.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /WEB-INF/lib/spring-expression-5.2.7.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.2.7.RELEASE/spring-expression-5.2.7.RELEASE.jar

Dependency Hierarchy: - :x: **spring-expression-5.2.7.RELEASE.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.Application (Application) -> org.springframework.boot.web.servlet.support.SpringBootServletInitializer (Extension) -> org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext (Extension) -> org.springframework.cglib.core.AbstractClassGenerator (Extension) ... -> org.springframework.expression.spel.standard.SpelCompiler (Extension) -> org.springframework.expression.spel.ast.SpelNodeImpl (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-01

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

Fix Resolution: 5.2.20.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2023-20861 ### Vulnerable Library - spring-expression-5.2.7.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /WEB-INF/lib/spring-expression-5.2.7.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.2.7.RELEASE/spring-expression-5.2.7.RELEASE.jar

Dependency Hierarchy: - :x: **spring-expression-5.2.7.RELEASE.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.Application (Application) -> org.springframework.boot.web.servlet.support.SpringBootServletInitializer (Extension) -> org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext (Extension) -> org.springframework.context.event.EventListenerMethodProcessor (Extension) ... -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension) -> org.springframework.expression.spel.standard.InternalSpelExpressionParser (Extension) -> ❌ org.springframework.expression.spel.ast.OperatorMatches (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, 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-03-23

URL: CVE-2023-20861

### 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-20861

Release Date: 2023-03-23

Fix Resolution: 5.2.23.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2023-20863 ### Vulnerable Library - spring-expression-5.2.7.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /WEB-INF/lib/spring-expression-5.2.7.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.2.7.RELEASE/spring-expression-5.2.7.RELEASE.jar

Dependency Hierarchy: - :x: **spring-expression-5.2.7.RELEASE.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.Application (Application) -> org.springframework.boot.SpringApplication (Extension) -> org.springframework.context.annotation.AnnotationConfigUtils (Extension) -> org.springframework.context.event.EventListenerMethodProcessor (Extension) -> org.springframework.context.event.EventExpressionEvaluator (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: 5.2.24.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

dev-mend-for-github-com[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.