samq-democorp / GMQ-Java-Prioritize

Other
0 stars 0 forks source link

webgoat-server-v8.1.0.jar: 38 vulnerabilities (highest severity is: 9.8) reachable #19

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

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - webgoat-server-v8.1.0.jar

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

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.0.28.Final/undertow-core-2.0.28.Final.jar

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (webgoat-server-v8.1.0.jar version) Remediation Possible** Reachability
CVE-2022-22965 Critical 9.8 spring-beans-5.2.2.RELEASE.jar Transitive N/A*

CVE-2023-20873 Critical 9.8 spring-boot-actuator-autoconfigure-2.2.2.RELEASE.jar Transitive N/A*

CVE-2022-22978 Critical 9.8 spring-security-web-5.2.1.RELEASE.jar Transitive N/A*

CVE-2022-1471 Critical 9.8 snakeyaml-1.25.jar Transitive N/A*

CVE-2021-22112 High 8.8 spring-security-web-5.2.1.RELEASE.jar Transitive N/A*

WS-2019-0490 High 8.1 jcommander-1.35.jar Transitive N/A*
CVE-2023-38286 High 7.5 thymeleaf-3.0.11.RELEASE.jar Transitive N/A*
CVE-2023-6481 High 7.5 logback-core-1.2.3.jar Transitive N/A*
CVE-2019-14888 High 7.5 undertow-core-2.0.28.Final.jar Transitive N/A*
CVE-2022-4492 High 7.5 undertow-core-2.0.28.Final.jar Transitive N/A*

CVE-2020-5398 High 7.5 spring-web-5.2.2.RELEASE.jar Transitive N/A*

CVE-2021-46877 High 7.5 jackson-databind-2.10.1.jar Transitive N/A*

CVE-2022-42004 High 7.5 jackson-databind-2.10.1.jar Transitive N/A*
CVE-2022-42003 High 7.5 jackson-databind-2.10.1.jar Transitive N/A*

CVE-2022-0084 High 7.5 xnio-api-3.3.8.Final.jar Transitive N/A*

CVE-2022-1319 High 7.5 undertow-core-2.0.28.Final.jar Transitive N/A*

CVE-2023-20883 High 7.5 spring-boot-autoconfigure-2.2.2.RELEASE.jar Transitive N/A*

CVE-2020-36518 High 7.5 jackson-databind-2.10.1.jar Transitive N/A*

CVE-2022-1259 High 7.5 undertow-core-2.0.28.Final.jar Transitive N/A*

CVE-2023-1108 High 7.5 undertow-core-2.0.28.Final.jar Transitive N/A*
CVE-2023-6378 High 7.5 logback-classic-1.2.3.jar Transitive N/A*
CVE-2023-3223 High 7.5 undertow-servlet-2.0.28.Final.jar Transitive N/A*
CVE-2021-42550 Medium 6.6 detected in multiple dependencies Transitive N/A*

CVE-2022-22950 Medium 6.5 spring-expression-5.2.2.RELEASE.jar Transitive N/A*

CVE-2023-34055 Medium 6.5 spring-boot-2.2.2.RELEASE.jar Transitive N/A*
CVE-2023-20861 Medium 6.5 spring-expression-5.2.2.RELEASE.jar Transitive N/A*

CVE-2023-20863 Medium 6.5 spring-expression-5.2.2.RELEASE.jar Transitive N/A*

CVE-2020-5408 Medium 6.5 spring-security-core-5.2.1.RELEASE.jar Transitive N/A*

CVE-2020-5421 Medium 6.5 spring-web-5.2.2.RELEASE.jar Transitive N/A*

WS-2017-3767 Medium 6.3 spring-security-web-5.2.1.RELEASE.jar Transitive N/A*

CVE-2021-3629 Medium 5.9 undertow-core-2.0.28.Final.jar Transitive N/A*
WS-2021-0616 Medium 5.9 jackson-databind-2.10.1.jar Transitive N/A*

WS-2020-0293 Medium 5.9 spring-security-web-5.2.1.RELEASE.jar Transitive N/A*

CVE-2022-22968 Medium 5.3 spring-context-5.2.2.RELEASE.jar Transitive N/A*

CVE-2022-22970 Medium 5.3 detected in multiple dependencies Transitive N/A*

CVE-2020-5397 Medium 5.3 detected in multiple dependencies Transitive N/A*

CVE-2021-22060 Medium 4.3 detected in multiple dependencies Transitive N/A*

CVE-2021-22096 Medium 4.3 detected in multiple dependencies 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

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: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - 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: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` 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,5.3.18

CVE-2023-20873 ### Vulnerable Library - spring-boot-actuator-autoconfigure-2.2.2.RELEASE.jar

Spring Boot Actuator AutoConfigure

Library home page: https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-actuator-autoconfigure

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

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/boot/spring-boot-actuator-autoconfigure/2.2.2.RELEASE/spring-boot-actuator-autoconfigure-2.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-actuator-2.2.2.RELEASE.jar - :x: **spring-boot-actuator-autoconfigure-2.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` org.springframework.boot.actuate.autoconfigure.cloudfoundry.reactive.ReactiveCloudFoundryActuatorAutoConfiguration$IgnoredPathsSecurityConfiguration (Application) -> org.springframework.boot.actuate.autoconfigure.cloudfoundry.reactive.ReactiveCloudFoundryActuatorAutoConfiguration (Extension) -> org.springframework.boot.actuate.autoconfigure.cloudfoundry.reactive.ReactiveCloudFoundryActuatorAutoConfiguration$WebFilterChainPostProcessor (Extension) -> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory (Extension) -> org.thymeleaf.spring5.view.ThymeleafViewResolver (Extension) -> ❌ org.owasp.webgoat.MvcConfiguration (Vulnerable Component) ```

### Vulnerability Details

In Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions, an application that is deployed to Cloud Foundry could be susceptible to a security bypass. Users of affected versions should apply the following mitigation: 3.0.x users should upgrade to 3.0.6+. 2.7.x users should upgrade to 2.7.11+. Users of older, unsupported versions should upgrade to 3.0.6+ or 2.7.11+.

Publish Date: 2023-04-20

URL: CVE-2023-20873

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

Release Date: 2023-04-20

Fix Resolution: org.springframework.boot:spring-boot-actuator-autoconfigure:2.7.11,3.0.6

CVE-2022-22978 ### 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: /webgoat-container/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: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-security-2.2.2.RELEASE.jar - :x: **spring-security-web-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` org.springframework.security.web.util.matcher.RegexRequestMatcher (Application) -> org.springframework.security.config.annotation.web.builders.HttpSecurity (Extension) -> ❌ org.owasp.webwolf.WebSecurityConfig (Vulnerable Component) ```

### Vulnerability Details

In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.

Publish Date: 2022-05-19

URL: CVE-2022-22978

### 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-2022-22978/

Release Date: 2022-05-19

Fix Resolution: org.springframework.security:spring-security-web:5.5.7,5.6.4

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: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - :x: **snakeyaml-1.25.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` org.yaml.snakeyaml.LoaderOptions (Application) -> org.springframework.beans.factory.config.YamlProcessor (Extension) -> org.springframework.beans.factory.config.YamlMapFactoryBean (Extension) -> org.thymeleaf.standard.serializer.StandardJavaScriptSerializer (Extension) ... -> org.thymeleaf.spring5.dialect.SpringStandardDialect (Extension) -> org.thymeleaf.spring5.SpringTemplateEngine (Extension) -> ❌ org.owasp.webgoat.MvcConfiguration (Vulnerable Component) ```

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

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: /webgoat-container/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: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-security-2.2.2.RELEASE.jar - :x: **spring-security-web-5.2.1.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` org.springframework.security.web.context.HttpSessionSecurityContextRepository$SaveToSessionResponseWrapper (Application) -> ❌ 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,5.3.8,5.4.4

WS-2019-0490 ### Vulnerable Library - jcommander-1.35.jar

A Java framework to parse command line options with annotations.

Library home page: http://beust.com/

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

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/beust/jcommander/1.35/jcommander-1.35.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - asciidoctorj-1.5.8.1.jar - :x: **jcommander-1.35.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Vulnerability Details

Inclusion of Functionality from Untrusted Control Sphere vulnerability found in jcommander before 1.75. jcommander resolving dependencies over HTTP instead of HTTPS.

Publish Date: 2019-02-19

URL: WS-2019-0490

### CVSS 3 Score Details (8.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2019-02-19

Fix Resolution: com.beust:jcommander:1.75

CVE-2023-38286 ### Vulnerable Library - thymeleaf-3.0.11.RELEASE.jar

Modern server-side Java template engine for both web and standalone environments

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

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/thymeleaf/thymeleaf/3.0.11.RELEASE/thymeleaf-3.0.11.RELEASE.jar,/home/wss-scanner/.m2/repository/org/thymeleaf/thymeleaf/3.0.11.RELEASE/thymeleaf-3.0.11.RELEASE.jar,/home/wss-scanner/.m2/repository/org/thymeleaf/thymeleaf/3.0.11.RELEASE/thymeleaf-3.0.11.RELEASE.jar,/home/wss-scanner/.m2/repository/org/thymeleaf/thymeleaf/3.0.11.RELEASE/thymeleaf-3.0.11.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-thymeleaf-2.2.2.RELEASE.jar - thymeleaf-spring5-3.0.11.RELEASE.jar - :x: **thymeleaf-3.0.11.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Vulnerability Details

Thymeleaf through 3.1.1.RELEASE, as used in spring-boot-admin (aka Spring Boot Admin) through 3.1.1 and other products, allows sandbox bypass via crafted HTML. This may be relevant for SSTI (Server Side Template Injection) and code execution in spring-boot-admin if MailNotifier is enabled and there is write access to environment variables via the UI.

Publish Date: 2023-07-14

URL: CVE-2023-38286

### 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://github.com/advisories/GHSA-7gj7-224w-vpr3

Release Date: 2023-07-14

Fix Resolution: de.codecentric:spring-boot-admin-server:3.1.2;rg.thymeleaf:thymeleaf:3.1.2.RELEASE

CVE-2023-6481 ### Vulnerable Library - logback-core-1.2.3.jar

logback-core module

Library home page: http://logback.qos.ch

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

Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - spring-boot-starter-logging-2.2.2.RELEASE.jar - logback-classic-1.2.3.jar - :x: **logback-core-1.2.3.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Vulnerability Details

A serialization vulnerability in logback receiver component part of logback version 1.4.13, 1.3.13 and 1.2.12 allows an attacker to mount a Denial-Of-Service attack by sending poisoned data.

Publish Date: 2023-12-04

URL: CVE-2023-6481

### 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://www.cve.org/CVERecord?id=CVE-2023-6481

Release Date: 2023-12-04

Fix Resolution: ch.qos.logback:logback-core:1.2.13,1.3.14,1.4.14

CVE-2019-14888 ### Vulnerable Library - undertow-core-2.0.28.Final.jar

Undertow

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.0.28.Final/undertow-core-2.0.28.Final.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-undertow-2.2.2.RELEASE.jar - :x: **undertow-core-2.0.28.Final.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Vulnerability Details

A vulnerability was found in the Undertow HTTP server in versions before 2.0.28.SP1 when listening on HTTPS. An attacker can target the HTTPS port to carry out a Denial Of Service (DOS) to make the service unavailable on SSL.

Publish Date: 2020-01-23

URL: CVE-2019-14888

### 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://security-tracker.debian.org/tracker/CVE-2019-14888

Release Date: 2020-01-23

Fix Resolution: 2.0.29.Final

CVE-2022-4492 ### Vulnerable Library - undertow-core-2.0.28.Final.jar

Undertow

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.0.28.Final/undertow-core-2.0.28.Final.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-undertow-2.2.2.RELEASE.jar - :x: **undertow-core-2.0.28.Final.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` io.undertow.security.impl.ClientCertAuthenticationMechanism (Application) -> io.undertow.servlet.core.DeploymentManagerImpl (Extension) -> io.undertow.servlet.core.ServletContainerImpl (Extension) -> org.springframework.web.servlet.view.AbstractTemplateViewResolver (Extension) ... -> org.springframework.web.servlet.config.annotation.ViewResolverRegistry$FreeMarkerRegistration (Extension) -> org.springframework.web.servlet.config.annotation.ViewResolverRegistry (Extension) -> ❌ org.owasp.webgoat.MvcConfiguration (Vulnerable Component) ```

### Vulnerability Details

The undertow client is not checking the server identity presented by the server certificate in https connections. This is a compulsory step (at least it should be performed by default) in https and in http/2. I would add it to any TLS client protocol.

Publish Date: 2023-02-23

URL: CVE-2022-4492

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-pfcc-3g6r-8rg8

Release Date: 2023-02-23

Fix Resolution: io.undertow:undertow-core:2.2.24.Final,2.3.5.Final, io.undertow:undertow-examples:2.2.24.Final,2.3.5.Final, io.undertow:undertow-benchmarks:2.2.24.Final,2.3.5.Final

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-integration-tests/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: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-json-2.2.2.RELEASE.jar - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` 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.0.16.RELEASE,org.springframework:spring-web:5.1.13.RELEASE,org.springframework:spring-web:5.2.3.RELEASE

CVE-2021-46877 ### Vulnerable Library - jackson-databind-2.10.1.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://github.com/FasterXML/jackson

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.10.1/jackson-databind-2.10.1.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-json-2.2.2.RELEASE.jar - :x: **jackson-databind-2.10.1.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.fasterxml.jackson.databind.node.NodeSerialization (Application) -> com.fasterxml.jackson.databind.node.BaseJsonNode (Extension) -> com.fasterxml.jackson.databind.node.ArrayNode (Extension) -> com.fasterxml.jackson.databind.json.JsonMapper (Extension) -> ❌ org.owasp.webwolf.requests.Requests (Vulnerable Component) ```

### Vulnerability Details

jackson-databind 2.10.x through 2.12.x before 2.12.6 and 2.13.x before 2.13.1 allows attackers to cause a denial of service (2 GB transient heap usage per read) in uncommon situations involving JsonNode JDK serialization.

Publish Date: 2023-03-18

URL: CVE-2021-46877

### 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://www.cve.org/CVERecord?id=CVE-2021-46877

Release Date: 2023-03-18

Fix Resolution: com.fasterxml.jackson.core:jackson-databind:2.12.6,2.13.1

CVE-2022-42004 ### Vulnerable Library - jackson-databind-2.10.1.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://github.com/FasterXML/jackson

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.10.1/jackson-databind-2.10.1.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-json-2.2.2.RELEASE.jar - :x: **jackson-databind-2.10.1.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Vulnerability Details

In FasterXML jackson-databind before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer._deserializeFromArray to prevent use of deeply nested arrays. An application is vulnerable only with certain customized choices for deserialization.

Publish Date: 2022-10-02

URL: CVE-2022-42004

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

Release Date: 2022-10-02

Fix Resolution: com.fasterxml.jackson.core:jackson-databind:2.13.4

CVE-2022-42003 ### Vulnerable Library - jackson-databind-2.10.1.jar

General data-binding functionality for Jackson: works on core streaming API

Library home page: http://github.com/FasterXML/jackson

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.10.1/jackson-databind-2.10.1.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-json-2.2.2.RELEASE.jar - :x: **jackson-databind-2.10.1.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.fasterxml.jackson.databind.deser.std.StdDeserializer (Application) -> com.fasterxml.jackson.databind.json.JsonMapper (Extension) -> ❌ org.owasp.webwolf.requests.Requests (Vulnerable Component) ```

### Vulnerability Details

In FasterXML jackson-databind before versions 2.13.4.1 and 2.12.17.1, resource exhaustion can occur because of a lack of a check in primitive value deserializers to avoid deep wrapper array nesting, when the UNWRAP_SINGLE_VALUE_ARRAYS feature is enabled.

Publish Date: 2022-10-02

URL: CVE-2022-42003

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

Release Date: 2022-10-02

Fix Resolution: com.fasterxml.jackson.core:jackson-databind:2.12.7.1,2.13.4.1

CVE-2022-0084 ### Vulnerable Library - xnio-api-3.3.8.Final.jar

The API JAR of the XNIO project

Library home page: http://www.jboss.org/xnio

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

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/jboss/xnio/xnio-api/3.3.8.Final/xnio-api-3.3.8.Final.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-undertow-2.2.2.RELEASE.jar - undertow-core-2.0.28.Final.jar - :x: **xnio-api-3.3.8.Final.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` org.xnio.StreamConnection (Application) -> io.undertow.protocols.ssl.UndertowXnioSsl$4 (Extension) -> org.xnio.AbstractIoFuture (Extension) -> org.springframework.test.web.servlet.MockMvc (Extension) ... -> org.springframework.test.web.servlet.htmlunit.HtmlUnitRequestBuilder (Extension) -> org.springframework.test.web.servlet.htmlunit.HtmlUnitRequestBuilder$HtmlUnitMockHttpServletRequest (Extension) -> ❌ org.owasp.webgoat.missing_ac.MissingFunctionACUsers (Vulnerable Component) ```

### Vulnerability Details

A flaw was found in XNIO, specifically in the notifyReadClosed method. The issue revealed this method was logging a message to another expected end. This flaw allows an attacker to send flawed requests to a server, possibly causing log contention-related performance concerns or an unwanted disk fill-up.

Publish Date: 2022-08-26

URL: CVE-2022-0084

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

Release Date: 2022-08-26

Fix Resolution: org.jboss.xnio:xnio-api:3.8.8.Final

CVE-2022-1319 ### Vulnerable Library - undertow-core-2.0.28.Final.jar

Undertow

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.0.28.Final/undertow-core-2.0.28.Final.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-undertow-2.2.2.RELEASE.jar - :x: **undertow-core-2.0.28.Final.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` io.undertow.server.protocol.ajp.AjpReadListener (Application) -> org.xnio.nio.NioTcpServer (Extension) -> io.undertow.Undertow (Extension) -> org.springframework.web.filter.GenericFilterBean (Extension) ... -> org.springframework.web.filter.ForwardedHeaderFilter (Extension) -> org.springframework.web.filter.ForwardedHeaderFilter$ForwardedHeaderRemovingRequest (Extension) -> ❌ org.owasp.webgoat.crypto.HashingAssignment (Vulnerable Component) ```

### Vulnerability Details

A flaw was found in Undertow. For an AJP 400 response, EAP 7 is improperly sending two response packets, and those packets have the reuse flag set even though JBoss EAP closes the connection. A failure occurs when the connection is reused after a 400 by CPING since it reads in the second SEND_HEADERS response packet instead of a CPONG.

Publish Date: 2022-08-31

URL: CVE-2022-1319

### 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://www.cve.org/CVERecord?id=CVE-2022-1319

Release Date: 2022-08-31

Fix Resolution: io.undertow:undertow-core:2.2.18.Final,2.3.0.Final

CVE-2023-20883 ### Vulnerable Library - spring-boot-autoconfigure-2.2.2.RELEASE.jar

Spring Boot AutoConfigure

Library home page: https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-autoconfigure

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

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.2.2.RELEASE/spring-boot-autoconfigure-2.2.2.RELEASE.jar

Dependency Hierarchy: - webgoat-server-v8.1.0.jar (Root Library) - webgoat-container-v8.1.0.jar - spring-boot-starter-web-2.2.2.RELEASE.jar - spring-boot-starter-2.2.2.RELEASE.jar - :x: **spring-boot-autoconfigure-2.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 411df46286164f4b431ef08daee03c73e487967a

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping (Application) -> org.springframework.web.servlet.view.RedirectView (Extension) -> ❌ org.owasp.webwolf.FileServer (Vulnerable Component) ```

### Vulnerability Details

In Spring Boot versions 3.0.0 - 3.0.6, 2.7.0 - 2.7.11, 2.6.0 - 2.6.14, 2.5.0 - 2.5.14 and older unsupported versions, there is potential for a denial-of-service (DoS) attack if Spring MVC is used together with a reverse proxy cache.

Publish Date: 2023-05-26

URL: CVE-2023-20883

### 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://spring.io/security/cve-2023-20883

Release Date: 2023-05-26

Fix Resolution: org.springframework.boot:spring-boot-autoconfigure:2.5.12,2.6.12,2.7.12,3.0.7

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.

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.

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.