SharonKoch / skf-labs

Repo for all the OWASP-SKF Docker lab examples
Apache License 2.0
0 stars 1 forks source link

spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar: 14 vulnerabilities (highest severity is: 9.8) #24

Open mend-for-github-com[bot] opened 10 months ago

mend-for-github-com[bot] commented 10 months ago
Vulnerable Library - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar

Path to vulnerable library: /java/ratelimiting/pom.xml,/java/http-response-splitting/pom.xml,/java/cmd3/pom.xml,/java/rfi/pom.xml,/java/cmd2/pom.xml,/java/file-upload/pom.xml,/java/xxe/pom.xml

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-thymeleaf version) Remediation Possible**
CVE-2022-22965 Critical 9.8 spring-beans-5.3.17.jar Transitive N/A*
CVE-2022-1471 High 8.3 snakeyaml-1.29.jar Transitive N/A*
CVE-2022-25857 High 7.5 snakeyaml-1.29.jar Transitive N/A*
CVE-2023-20863 Medium 6.5 spring-expression-5.3.17.jar Transitive N/A*
CVE-2023-20861 Medium 6.5 spring-expression-5.3.17.jar Transitive N/A*
CVE-2022-38752 Medium 6.5 snakeyaml-1.29.jar Transitive N/A*
CVE-2022-38751 Medium 6.5 snakeyaml-1.29.jar Transitive N/A*
CVE-2022-38750 Medium 6.5 snakeyaml-1.29.jar Transitive N/A*
CVE-2022-38749 Medium 6.5 snakeyaml-1.29.jar Transitive N/A*
CVE-2022-41854 Medium 5.8 snakeyaml-1.29.jar Transitive N/A*
CVE-2022-22970 Medium 5.3 detected in multiple dependencies Transitive N/A*
CVE-2022-22968 Medium 5.3 spring-context-5.3.17.jar Transitive N/A*
CVE-2024-38808 Medium 4.3 spring-expression-5.3.17.jar Transitive N/A*
CVE-2024-38820 Low 3.1 spring-context-5.3.17.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-2022-22965 ### Vulnerable Library - spring-beans-5.3.17.jar

Spring Beans

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /java/cmd3/pom.xml

Path to vulnerable library: /java/cmd3/pom.xml,/java/cmd2/pom.xml,/java/file-upload/pom.xml,/java/rfi/pom.xml,/java/http-response-splitting/pom.xml,/java/ratelimiting/pom.xml,/java/xxe/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - spring-boot-2.6.5-SNAPSHOT.jar - spring-context-5.3.17.jar - spring-aop-5.3.17.jar - :x: **spring-beans-5.3.17.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it. Mend Note: Converted from WS-2022-0107, on 2022-11-07.

Publish Date: 2022-04-01

URL: CVE-2022-22965

### 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://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement

Release Date: 2022-04-01

Fix Resolution: org.springframework:spring-beans:5.2.20.RELEASE,5.3.18

CVE-2022-1471 ### Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /java/http-response-splitting/pom.xml

Path to vulnerable library: /java/http-response-splitting/pom.xml,/java/xxe/pom.xml,/java/rfi/pom.xml,/java/ratelimiting/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - :x: **snakeyaml-1.29.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.

Publish Date: 2022-12-01

URL: CVE-2022-1471

### CVSS 3 Score Details (8.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64634374

Release Date: 2022-12-01

Fix Resolution: org.yaml:snakeyaml:2.0

CVE-2022-25857 ### Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /java/http-response-splitting/pom.xml

Path to vulnerable library: /java/http-response-splitting/pom.xml,/java/xxe/pom.xml,/java/rfi/pom.xml,/java/ratelimiting/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - :x: **snakeyaml-1.29.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial of Service (DoS) due missing to nested depth limitation for collections.

Publish Date: 2022-08-30

URL: CVE-2022-25857

### 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25857

Release Date: 2022-08-30

Fix Resolution: org.yaml:snakeyaml:1.31

CVE-2023-20863 ### Vulnerable Library - spring-expression-5.3.17.jar

Spring Expression Language (SpEL)

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /java/xxe/pom.xml

Path to vulnerable library: /java/xxe/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/rfi/pom.xml,/java/http-response-splitting/pom.xml,/java/ratelimiting/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - spring-boot-2.6.5-SNAPSHOT.jar - spring-context-5.3.17.jar - :x: **spring-expression-5.3.17.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### 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,5.3.27,6.0.8

CVE-2023-20861 ### Vulnerable Library - spring-expression-5.3.17.jar

Spring Expression Language (SpEL)

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /java/xxe/pom.xml

Path to vulnerable library: /java/xxe/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/rfi/pom.xml,/java/http-response-splitting/pom.xml,/java/ratelimiting/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - spring-boot-2.6.5-SNAPSHOT.jar - spring-context-5.3.17.jar - :x: **spring-expression-5.3.17.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### 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: org.springframework:spring-expression:x5.2.23.RELEASE,5.3.26,6.0.7

CVE-2022-38752 ### Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /java/http-response-splitting/pom.xml

Path to vulnerable library: /java/http-response-splitting/pom.xml,/java/xxe/pom.xml,/java/rfi/pom.xml,/java/ratelimiting/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - :x: **snakeyaml-1.29.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stack-overflow.

Publish Date: 2022-09-05

URL: CVE-2022-38752

### 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://github.com/advisories/GHSA-9w3m-gqgf-c4p9

Release Date: 2022-09-05

Fix Resolution: org.yaml:snakeyaml:1.32

CVE-2022-38751 ### Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /java/http-response-splitting/pom.xml

Path to vulnerable library: /java/http-response-splitting/pom.xml,/java/xxe/pom.xml,/java/rfi/pom.xml,/java/ratelimiting/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - :x: **snakeyaml-1.29.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.

Publish Date: 2022-09-05

URL: CVE-2022-38751

### 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://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47039

Release Date: 2022-09-05

Fix Resolution: org.yaml:snakeyaml:1.31

CVE-2022-38750 ### Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /java/http-response-splitting/pom.xml

Path to vulnerable library: /java/http-response-splitting/pom.xml,/java/xxe/pom.xml,/java/rfi/pom.xml,/java/ratelimiting/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - :x: **snakeyaml-1.29.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.

Publish Date: 2022-09-05

URL: CVE-2022-38750

### 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://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47027

Release Date: 2022-09-05

Fix Resolution: org.yaml:snakeyaml:1.31

CVE-2022-38749 ### Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /java/http-response-splitting/pom.xml

Path to vulnerable library: /java/http-response-splitting/pom.xml,/java/xxe/pom.xml,/java/rfi/pom.xml,/java/ratelimiting/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - :x: **snakeyaml-1.29.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.

Publish Date: 2022-09-05

URL: CVE-2022-38749

### 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://bitbucket.org/snakeyaml/snakeyaml/issues/526/stackoverflow-oss-fuzz-47027

Release Date: 2022-09-05

Fix Resolution: org.yaml:snakeyaml:1.31

CVE-2022-41854 ### Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /java/http-response-splitting/pom.xml

Path to vulnerable library: /java/http-response-splitting/pom.xml,/java/xxe/pom.xml,/java/rfi/pom.xml,/java/ratelimiting/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - :x: **snakeyaml-1.29.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

Those using Snakeyaml to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stack overflow. This effect may support a denial of service attack.

Publish Date: 2022-11-11

URL: CVE-2022-41854

### CVSS 3 Score Details (5.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: Low - User Interaction: Required - Scope: Changed - 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://bitbucket.org/snakeyaml/snakeyaml/issues/531/

Release Date: 2022-11-11

Fix Resolution: org.yaml:snakeyaml:1.32

CVE-2022-22970 ### Vulnerable Libraries - spring-beans-5.3.17.jar, spring-core-5.3.17.jar

### spring-beans-5.3.17.jar

Spring Beans

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /java/cmd3/pom.xml

Path to vulnerable library: /java/cmd3/pom.xml,/java/cmd2/pom.xml,/java/file-upload/pom.xml,/java/rfi/pom.xml,/java/http-response-splitting/pom.xml,/java/ratelimiting/pom.xml,/java/xxe/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - spring-boot-2.6.5-SNAPSHOT.jar - spring-context-5.3.17.jar - spring-aop-5.3.17.jar - :x: **spring-beans-5.3.17.jar** (Vulnerable Library) ### spring-core-5.3.17.jar

Spring Core

Library home page: https://spring.io/projects/spring-framework

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - spring-boot-2.6.5-SNAPSHOT.jar - :x: **spring-core-5.3.17.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

In spring framework versions prior to 5.3.20+ , 5.2.22+ and old unsupported versions, applications that handle file uploads are vulnerable to DoS attack if they rely on data binding to set a MultipartFile or javax.servlet.Part to a field in a model object.

Publish Date: 2022-05-12

URL: CVE-2022-22970

### CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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-22970

Release Date: 2022-05-12

Fix Resolution: org.springframework:spring-beans:5.2.22,5.3.20;org.springframework:spring-core:5.2.22,5.3.20

CVE-2022-22968 ### Vulnerable Library - spring-context-5.3.17.jar

Spring Context

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /java/ratelimiting/pom.xml

Path to vulnerable library: /java/ratelimiting/pom.xml,/java/http-response-splitting/pom.xml,/java/cmd3/pom.xml,/java/rfi/pom.xml,/java/cmd2/pom.xml,/java/file-upload/pom.xml,/java/xxe/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - spring-boot-2.6.5-SNAPSHOT.jar - :x: **spring-context-5.3.17.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.

Publish Date: 2022-04-14

URL: CVE-2022-22968

### CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22968

Release Date: 2022-04-14

Fix Resolution: org.springframework:spring-context:5.2.21,5.3.19

CVE-2024-38808 ### Vulnerable Library - spring-expression-5.3.17.jar

Spring Expression Language (SpEL)

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /java/xxe/pom.xml

Path to vulnerable library: /java/xxe/pom.xml,/java/file-upload/pom.xml,/java/cmd3/pom.xml,/java/rfi/pom.xml,/java/http-response-splitting/pom.xml,/java/ratelimiting/pom.xml,/java/cmd2/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - spring-boot-2.6.5-SNAPSHOT.jar - spring-context-5.3.17.jar - :x: **spring-expression-5.3.17.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.38 and older unsupported versions, it is possible for a user to provide a specially crafted Spring Expression Language (SpEL) expression that may cause a denial of service (DoS) condition. Specifically, an application is vulnerable when the following is true: * The application evaluates user-supplied SpEL expressions.

Publish Date: 2024-08-20

URL: CVE-2024-38808

### CVSS 3 Score Details (4.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-08-20

Fix Resolution: org.springframework:spring-expression:5.3.39

CVE-2024-38820 ### Vulnerable Library - spring-context-5.3.17.jar

Spring Context

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /java/ratelimiting/pom.xml

Path to vulnerable library: /java/ratelimiting/pom.xml,/java/http-response-splitting/pom.xml,/java/cmd3/pom.xml,/java/rfi/pom.xml,/java/cmd2/pom.xml,/java/file-upload/pom.xml,/java/xxe/pom.xml

Dependency Hierarchy: - spring-boot-starter-thymeleaf-2.6.5-SNAPSHOT.jar (Root Library) - spring-boot-starter-2.6.5-SNAPSHOT.jar - spring-boot-2.6.5-SNAPSHOT.jar - :x: **spring-context-5.3.17.jar** (Vulnerable Library)

Found in HEAD commit: dbff3320673205dea2e0a4c513d54497ca905aab

Found in base branch: master

### Vulnerability Details

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. However, String.toLowerCase() has some Locale dependent exceptions that could potentially result in fields not protected as expected.

Publish Date: 2024-10-18

URL: CVE-2024-38820

### CVSS 3 Score Details (3.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-10-18

Fix Resolution: org.springframework:spring-context:6.1.14

mend-for-github-com[bot] commented 6 months 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.

mend-for-github-com[bot] commented 3 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.