Vulnerable Library - spring-boot-starter-security-3.0.1.jar
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.33/snakeyaml-1.33.jar
Found in HEAD commit: b8138bd35e40d1c3370e17466ad7f3d1c98da462
Vulnerabilities
CVE |
Severity |
CVSS |
Dependency |
Type |
Fixed in (spring-boot-starter-security version) |
Remediation Possible** |
CVE-2023-34034 |
Critical |
9.8 |
spring-security-config-6.0.1.jar |
Transitive |
N/A* |
❌ |
CVE-2022-1471 |
Critical |
9.8 |
snakeyaml-1.33.jar |
Transitive |
N/A* |
❌ |
CVE-2023-20863 |
Medium |
6.5 |
spring-expression-6.0.3.jar |
Transitive |
N/A* |
❌ |
CVE-2023-20861 |
Medium |
6.5 |
spring-expression-6.0.3.jar |
Transitive |
N/A* |
❌ |
CVE-2023-20862 |
Medium |
6.3 |
spring-security-web-6.0.1.jar |
Transitive |
N/A* |
❌ |
CVE-2023-34035 |
Medium |
5.3 |
spring-security-config-6.0.1.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-2023-34034
Vulnerable Library - spring-security-config-6.0.1.jar
Spring Security
Library home page: https://spring.io/projects/spring-security
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-config/6.0.1/spring-security-config-6.0.1.jar
Dependency Hierarchy:
- spring-boot-starter-security-3.0.1.jar (Root Library)
- ❌ spring-security-config-6.0.1.jar (Vulnerable Library)
Found in HEAD commit: b8138bd35e40d1c3370e17466ad7f3d1c98da462
Found in base branch: main
Vulnerability Details
Using "**" as a pattern in Spring Security configuration
for WebFlux creates a mismatch in pattern matching between Spring
Security and Spring WebFlux, and the potential for a security bypass.
Publish Date: 2023-07-19
URL: CVE-2023-34034
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/security/cve-2023-34034
Release Date: 2023-07-19
Fix Resolution: org.springframework.security:spring-security-config:5.6.12,5.7.10,5.8.5,6.0.5,6.1.2
Step up your Open Source Security Game with Mend here
CVE-2022-1471
Vulnerable Library - snakeyaml-1.33.jar
YAML 1.1 parser and emitter for Java
Library home page: https://bitbucket.org/snakeyaml/snakeyaml
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.33/snakeyaml-1.33.jar
Dependency Hierarchy:
- spring-boot-starter-security-3.0.1.jar (Root Library)
- spring-boot-starter-3.0.1.jar
- ❌ snakeyaml-1.33.jar (Vulnerable Library)
Found in HEAD commit: b8138bd35e40d1c3370e17466ad7f3d1c98da462
Found in base branch: main
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 (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://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
Step up your Open Source Security Game with Mend here
CVE-2023-20863
Vulnerable Library - spring-expression-6.0.3.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: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/6.0.3/spring-expression-6.0.3.jar
Dependency Hierarchy:
- spring-boot-starter-security-3.0.1.jar (Root Library)
- spring-security-web-6.0.1.jar
- ❌ spring-expression-6.0.3.jar (Vulnerable Library)
Found in HEAD commit: b8138bd35e40d1c3370e17466ad7f3d1c98da462
Found in base branch: main
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
Step up your Open Source Security Game with Mend here
CVE-2023-20861
Vulnerable Library - spring-expression-6.0.3.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: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/6.0.3/spring-expression-6.0.3.jar
Dependency Hierarchy:
- spring-boot-starter-security-3.0.1.jar (Root Library)
- spring-security-web-6.0.1.jar
- ❌ spring-expression-6.0.3.jar (Vulnerable Library)
Found in HEAD commit: b8138bd35e40d1c3370e17466ad7f3d1c98da462
Found in base branch: main
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
Step up your Open Source Security Game with Mend here
CVE-2023-20862
Vulnerable Library - spring-security-web-6.0.1.jar
Spring Security
Library home page: https://spring.io/projects/spring-security
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-web/6.0.1/spring-security-web-6.0.1.jar
Dependency Hierarchy:
- spring-boot-starter-security-3.0.1.jar (Root Library)
- ❌ spring-security-web-6.0.1.jar (Vulnerable Library)
Found in HEAD commit: b8138bd35e40d1c3370e17466ad7f3d1c98da462
Found in base branch: main
Vulnerability Details
In Spring Security, versions 5.7.x prior to 5.7.8, versions 5.8.x prior to 5.8.3, and versions 6.0.x prior to 6.0.3, the logout support does not properly clean the security context if using serialized versions. Additionally, it is not possible to explicitly save an empty security context to the HttpSessionSecurityContextRepository. This vulnerability can keep users authenticated even after they performed logout. Users of affected versions should apply the following mitigation. 5.7.x users should upgrade to 5.7.8. 5.8.x users should upgrade to 5.8.3. 6.0.x users should upgrade to 6.0.3.
Publish Date: 2023-04-19
URL: CVE-2023-20862
CVSS 3 Score Details (6.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: https://spring.io/security/cve-2023-20862
Release Date: 2023-04-19
Fix Resolution: org.springframework.security:spring-security-web:5.7.8,5.8.3,6.0.3
Step up your Open Source Security Game with Mend here
CVE-2023-34035
Vulnerable Library - spring-security-config-6.0.1.jar
Spring Security
Library home page: https://spring.io/projects/spring-security
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-config/6.0.1/spring-security-config-6.0.1.jar
Dependency Hierarchy:
- spring-boot-starter-security-3.0.1.jar (Root Library)
- ❌ spring-security-config-6.0.1.jar (Vulnerable Library)
Found in HEAD commit: b8138bd35e40d1c3370e17466ad7f3d1c98da462
Found in base branch: main
Vulnerability Details
Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5, and 6.1 prior to 6.1.2 could be susceptible to authorization rule misconfiguration if the application uses requestMatchers(String) and multiple servlets, one of them being Spring MVC’s DispatcherServlet. (DispatcherServlet is a Spring MVC component that maps HTTP endpoints to methods on @Controller-annotated classes.)
Specifically, an application is vulnerable when all of the following are true:
- Spring MVC is on the classpath
- Spring Security is securing more than one servlet in a single application (one of them being Spring MVC’s DispatcherServlet)
- The application uses requestMatchers(String) to refer to endpoints that are not Spring MVC endpoints
An application is not vulnerable if any of the following is true:
- The application does not have Spring MVC on the classpath
- The application secures no servlets other than Spring MVC’s DispatcherServlet
- The application uses requestMatchers(String) only for Spring MVC endpoints
Publish Date: 2023-07-18
URL: CVE-2023-34035
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: GHSA-4vpr-xfrp-cj64
Release Date: 2023-07-18
Fix Resolution: org.springframework.security:spring-security-config:5.8.5,6.0.5,6.1.2
Step up your Open Source Security Game with Mend here