ReachabilityOrg / WebGoat_8.1.0_2

Other
0 stars 0 forks source link

spring-boot-starter-security-2.2.2.RELEASE.jar: 22 vulnerabilities (highest severity is: 9.8) reachable #9

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

dev-mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - spring-boot-starter-security-2.2.2.RELEASE.jar

Path to dependency file: /webwolf/pom.xml

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

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-security version) Remediation Possible** Reachability
CVE-2022-22965 Critical 9.8 spring-beans-5.2.2.RELEASE.jar Transitive 2.5.0

Reachable

CVE-2021-22112 High 8.8 spring-security-web-5.2.1.RELEASE.jar Transitive 2.3.0.RELEASE

Reachable

CVE-2020-5398 High 7.5 spring-web-5.2.2.RELEASE.jar Transitive 2.2.5.RELEASE

Reachable

WS-2017-3767 Medium 6.6 spring-security-web-5.2.1.RELEASE.jar Transitive 2.2.7.RELEASE

Reachable

CVE-2023-20863 Medium 6.5 spring-expression-5.2.2.RELEASE.jar Transitive 2.5.0

Reachable

CVE-2023-20861 Medium 6.5 spring-expression-5.2.2.RELEASE.jar Transitive 2.5.0

Reachable

CVE-2022-22950 Medium 6.5 spring-expression-5.2.2.RELEASE.jar Transitive 2.5.0

Reachable

CVE-2020-5421 Medium 6.5 spring-web-5.2.2.RELEASE.jar Transitive 2.2.11.RELEASE

Reachable

CVE-2020-5408 Medium 6.5 spring-security-core-5.2.1.RELEASE.jar Transitive 2.2.7.RELEASE

Reachable

WS-2020-0293 Medium 5.9 spring-security-web-5.2.1.RELEASE.jar Transitive 2.3.0.RELEASE

Reachable

CVE-2022-22970 Medium 5.3 detected in multiple dependencies Transitive 2.5.0

Reachable

CVE-2022-22968 Medium 5.3 spring-context-5.2.2.RELEASE.jar Transitive 2.5.0

Reachable

CVE-2020-5397 Medium 5.3 spring-web-5.2.2.RELEASE.jar Transitive 2.2.5.RELEASE

Reachable

CVE-2021-22096 Medium 4.3 detected in multiple dependencies Transitive 2.4.12

Reachable

CVE-2016-1000027 Critical 9.8 spring-web-5.2.2.RELEASE.jar Transitive 2.5.0

Unreachable

CVE-2022-1471 High 8.3 snakeyaml-1.25.jar Transitive 3.2.0

Unreachable

CVE-2021-22118 High 7.8 spring-web-5.2.2.RELEASE.jar Transitive 2.4.8

Unreachable

CVE-2022-25857 High 7.5 snakeyaml-1.25.jar Transitive 3.0.0

Unreachable

CVE-2017-18640 High 7.5 snakeyaml-1.25.jar Transitive 2.3.0.RELEASE

Unreachable

WS-2016-7107 Medium 5.9 spring-security-web-5.2.1.RELEASE.jar Transitive 2.3.0.RELEASE

Unreachable

CVE-2022-27772 High 7.8 spring-boot-2.2.2.RELEASE.jar Transitive 2.2.11.RELEASE
CVE-2021-22060 Medium 4.3 detected in multiple dependencies Transitive 2.5.0

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

Details

Partial details (17 vulnerabilities) are displayed below due to a content size limitation in GitHub. To view information on the remaining vulnerabilities, navigate to the Mend Application.

CVE-2022-22965 ### Vulnerable Library - spring-beans-5.2.2.RELEASE.jar

Spring Beans

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

Path to dependency file: /webgoat-container/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - spring-aop-5.2.2.RELEASE.jar - :x: **spring-beans-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.beans.CachedIntrospectionResults (Application) -> org.springframework.boot.SpringApplication (Extension) -> ❌ org.owasp.webwolf.WebWolf (Vulnerable Component) ```

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-22112 ### Vulnerable Library - spring-security-web-5.2.1.RELEASE.jar

spring-security-web

Library home page: http://spring.io/spring-security

Path to dependency file: /webwolf/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - :x: **spring-security-web-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.security.web.context.HttpSessionSecurityContextRepository (Application) -> org.springframework.security.web.context.HttpSessionSecurityContextRepository$SaveToSessionRequestWrapper (Extension) -> org.eclipse.jetty.security.authentication.ClientCertAuthenticator (Extension) -> org.eclipse.jetty.security.DefaultAuthenticatorFactory (Extension) ... -> org.eclipse.jetty.security.authentication.DeferredAuthentication (Extension) -> org.eclipse.jetty.security.authentication.DeferredAuthentication$1 (Extension) -> ❌ org.owasp.webgoat.idor.IDORViewOtherProfile (Vulnerable Component) ```

### Vulnerability Details

Spring Security 5.4.x prior to 5.4.4, 5.3.x prior to 5.3.8.RELEASE, 5.2.x prior to 5.2.9.RELEASE, and older unsupported versions can fail to save the SecurityContext if it is changed more than once in a single request.A malicious user cannot cause the bug to happen (it must be programmed in). However, if the application's intent is to only allow the user to run with elevated privileges in a small portion of the application, the bug can be leveraged to extend those privileges to the rest of the application.

Publish Date: 2021-02-23

URL: CVE-2021-22112

### CVSS 3 Score Details (8.8)

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: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2021-22112

Release Date: 2021-02-23

Fix Resolution (org.springframework.security:spring-security-web): 5.2.9.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.3.0.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-5398 ### Vulnerable Library - spring-web-5.2.2.RELEASE.jar

Spring Web

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

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-security-web-5.2.1.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.http.ContentDisposition (Application) -> org.springframework.http.ReadOnlyHttpHeaders (Extension) -> ❌ org.owasp.webgoat.password_reset.ResetLinkAssignmentForgotPassword (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16, an application is vulnerable to a reflected file download (RFD) attack when it sets a "Content-Disposition" header in the response where the filename attribute is derived from user supplied input.

Publish Date: 2020-01-17

URL: CVE-2020-5398

### CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: Required - 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://pivotal.io/security/cve-2020-5398

Release Date: 2020-01-17

Fix Resolution (org.springframework:spring-web): 5.2.3.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.2.5.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
WS-2017-3767 ### Vulnerable Library - spring-security-web-5.2.1.RELEASE.jar

spring-security-web

Library home page: http://spring.io/spring-security

Path to dependency file: /webwolf/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - :x: **spring-security-web-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.security.web.authentication.switchuser.SwitchUserFilter (Application) -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (Vulnerable Component) ```

### Vulnerability Details

Cross-Site Request Forgery (CSRF) vulnerability was found in spring-security before 4.2.15, 5.0.15, 5.1.9, 5.2.3, and 5.3.1. SwitchUserFilter responds to all HTTP methods, making it vulnerable to CSRF attacks.

Publish Date: 2017-01-03

URL: WS-2017-3767

### CVSS 3 Score Details (6.6)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - 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

Release Date: 2017-01-03

Fix Resolution (org.springframework.security:spring-security-web): 5.2.3.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.2.7.RELEASE

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

Spring Expression Language (SpEL)

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

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - :x: **spring-expression-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.expression.spel.SpelMessage (Application) -> org.springframework.expression.spel.standard.InternalSpelExpressionParser (Extension) -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension) -> org.springframework.security.access.expression.AbstractSecurityExpressionHandler (Extension) -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (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.boot:spring-boot-starter-security): 2.5.0

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

Spring Expression Language (SpEL)

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

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - :x: **spring-expression-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.expression.spel.SpelMessage (Application) -> org.springframework.expression.spel.standard.InternalSpelExpressionParser (Extension) -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension) -> org.springframework.security.access.expression.AbstractSecurityExpressionHandler (Extension) -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (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 (org.springframework:spring-expression): 5.2.23.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-22950 ### Vulnerable Library - spring-expression-5.2.2.RELEASE.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - :x: **spring-expression-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.expression.spel.SpelMessage (Application) -> org.springframework.expression.spel.standard.InternalSpelExpressionParser (Extension) -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension) -> org.springframework.security.access.expression.AbstractSecurityExpressionHandler (Extension) -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (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 (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-5421 ### Vulnerable Library - spring-web-5.2.2.RELEASE.jar

Spring Web

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

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-security-web-5.2.1.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.web.util.WebUtils (Application) -> org.springframework.web.context.request.ServletRequestAttributes (Extension) -> org.springframework.web.context.support.WebApplicationContextUtils (Extension) -> ch.qos.logback.classic.gaffer.GafferUtil (Extension) ... -> org.slf4j.impl.StaticLoggerBinder (Extension) -> org.slf4j.LoggerFactory (Extension) -> ❌ org.owasp.webwolf.FileServer (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework versions 5.2.0 - 5.2.8, 5.1.0 - 5.1.17, 5.0.0 - 5.0.18, 4.3.0 - 4.3.28, and older unsupported versions, the protections against RFD attacks from CVE-2015-5211 may be bypassed depending on the browser used through the use of a jsessionid path parameter.

Publish Date: 2020-09-19

URL: CVE-2020-5421

### CVSS 3 Score Details (6.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2020-5421

Release Date: 2020-09-19

Fix Resolution (org.springframework:spring-web): 5.2.9.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.2.11.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-5408 ### Vulnerable Library - spring-security-core-5.2.1.RELEASE.jar

spring-security-core

Library home page: http://spring.io/spring-security

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.2.1.RELEASE/spring-security-core-5.2.1.RELEASE.jar

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-security-config-5.2.1.RELEASE.jar - :x: **spring-security-core-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder (Application) -> org.springframework.security.crypto.factory.PasswordEncoderFactories (Extension) -> org.springframework.security.core.userdetails.User (Extension) -> ❌ org.owasp.webgoat.users.WebGoatUser (Vulnerable Component) ```

### Vulnerability Details

Spring Security versions 5.3.x prior to 5.3.2, 5.2.x prior to 5.2.4, 5.1.x prior to 5.1.10, 5.0.x prior to 5.0.16 and 4.2.x prior to 4.2.16 use a fixed null initialization vector with CBC Mode in the implementation of the queryable text encryptor. A malicious user with access to the data that has been encrypted using such an encryptor may be able to derive the unencrypted values using a dictionary attack.

Publish Date: 2020-05-14

URL: CVE-2020-5408

### 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: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5408

Release Date: 2020-05-14

Fix Resolution (org.springframework.security:spring-security-core): 5.2.4.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.2.7.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
WS-2020-0293 ### Vulnerable Library - spring-security-web-5.2.1.RELEASE.jar

spring-security-web

Library home page: http://spring.io/spring-security

Path to dependency file: /webwolf/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - :x: **spring-security-web-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.security.web.csrf.CsrfFilter (Application) -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (Vulnerable Component) ```

### Vulnerability Details

Spring Security before 5.2.9, 5.3.7, and 5.4.3 vulnerable to side-channel attacks. Vulnerable versions of Spring Security don't use constant time comparisons for CSRF tokens.

Publish Date: 2020-12-17

URL: WS-2020-0293

### CVSS 3 Score Details (5.9)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2020-12-17

Fix Resolution (org.springframework.security:spring-security-web): 5.2.9.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.3.0.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-22970 ### Vulnerable Libraries - spring-core-5.2.2.RELEASE.jar, spring-beans-5.2.2.RELEASE.jar

### spring-core-5.2.2.RELEASE.jar

Spring Core

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

Path to dependency file: /webwolf/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - :x: **spring-core-5.2.2.RELEASE.jar** (Vulnerable Library) ### spring-beans-5.2.2.RELEASE.jar

Spring Beans

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

Path to dependency file: /webgoat-container/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - spring-context-5.2.2.RELEASE.jar - spring-aop-5.2.2.RELEASE.jar - :x: **spring-beans-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.core.annotation.AnnotationUtils (Application) -> org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor (Extension) -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension) -> ❌ org.owasp.webgoat.WebSecurityConfig (Vulnerable Component) ```

### 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-core): 5.2.22.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.5.0

Fix Resolution (org.springframework:spring-beans): 5.2.22.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-22968 ### Vulnerable Library - spring-context-5.2.2.RELEASE.jar

Spring Context

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

Path to dependency file: /webwolf/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - :x: **spring-context-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.validation.DataBinder (Application) -> org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap (Extension) -> ❌ org.owasp.webgoat.password_reset.ResetLinkAssignment (Vulnerable Component) ```

### 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.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-5397 ### Vulnerable Library - spring-web-5.2.2.RELEASE.jar

Spring Web

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

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-security-web-5.2.1.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.web.cors.CorsUtils (Application) -> org.springframework.web.servlet.handler.AbstractHandlerMapping (Extension) -> org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping (Extension) -> org.slf4j.LoggerFactory (Extension) ... -> org.thymeleaf.extras.springsecurity5.dialect.processor.AuthorizeAclAttrProcessor (Extension) -> org.thymeleaf.extras.springsecurity5.dialect.SpringSecurityDialect (Extension) -> ❌ org.owasp.webgoat.MvcConfiguration (Vulnerable Component) ```

### Vulnerability Details

Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.

Publish Date: 2020-01-17

URL: CVE-2020-5397

### 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://pivotal.io/security/cve-2020-5397

Release Date: 2020-01-17

Fix Resolution (org.springframework:spring-web): 5.2.3.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.2.5.RELEASE

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-22096 ### Vulnerable Libraries - spring-core-5.2.2.RELEASE.jar, spring-web-5.2.2.RELEASE.jar

### spring-core-5.2.2.RELEASE.jar

Spring Core

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

Path to dependency file: /webwolf/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-2.2.2.RELEASE.jar - :x: **spring-core-5.2.2.RELEASE.jar** (Vulnerable Library) ### spring-web-5.2.2.RELEASE.jar

Spring Web

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

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-security-web-5.2.1.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis This vulnerability is potentially reachable ``` org.springframework.util.MimeType (Application) -> org.springframework.http.converter.AbstractHttpMessageConverter (Extension) -> org.springframework.http.converter.FormHttpMessageConverter (Extension) -> org.slf4j.impl.StaticLoggerBinder (Extension) ... -> org.owasp.webgoat.users.UserTracker (Extension) -> org.owasp.webgoat.users.UserTrackerRepository (Extension) -> ❌ org.owasp.webgoat.path_traversal.ProfileUploadBase (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.

Publish Date: 2021-10-28

URL: CVE-2021-22096

### CVSS 3 Score Details (4.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2021-22096

Release Date: 2021-10-28

Fix Resolution (org.springframework:spring-core): 5.2.18.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.4.12

Fix Resolution (org.springframework:spring-web): 5.2.18.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.4.12

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2016-1000027 ### Vulnerable Library - spring-web-5.2.2.RELEASE.jar

Spring Web

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

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-security-web-5.2.1.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

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

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: https://github.com/advisories/GHSA-4wrc-f8pq-fpqp

Release Date: 2020-01-02

Fix Resolution (org.springframework:spring-web): 5.2.23.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-1471 ### Vulnerable Library - snakeyaml-1.25.jar

YAML 1.1 parser and emitter for Java

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

Path to dependency file: /webgoat-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.25/snakeyaml-1.25.jar

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-boot-starter-2.2.2.RELEASE.jar - :x: **snakeyaml-1.25.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis

The vulnerable code is unreachable

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 3.2.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-22118 ### Vulnerable Library - spring-web-5.2.2.RELEASE.jar

Spring Web

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

Path to dependency file: /webgoat-server/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-security-2.2.2.RELEASE.jar (Root Library) - spring-security-web-5.2.1.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f0c1d123bb3375482e903c0febdd18513fb47ec8

Found in base branch: master

### Reachability Analysis

The vulnerable code is unreachable

### Vulnerability Details

In Spring Framework, versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7, a WebFlux application is vulnerable to a privilege escalation: by (re)creating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.

Publish Date: 2021-05-27

URL: CVE-2021-22118

### CVSS 3 Score Details (7.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - 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-2021-22118

Release Date: 2021-05-27

Fix Resolution (org.springframework:spring-web): 5.2.15.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.4.8

: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.

dev-mend-for-github-com[bot] commented 1 year 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.