joshrup / WebGoat-Remediate

Other
0 stars 0 forks source link

spring-boot-starter-web-3.1.5.jar: 7 vulnerabilities (highest severity is: 8.7) reachable #9

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

mend-for-github-com[bot] commented 7 months ago
Vulnerable Library - spring-boot-starter-web-3.1.5.jar

Path to dependency file: /pom.xml

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

Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (spring-boot-starter-web version) Remediation Possible** Reachability
CVE-2024-38816 High 8.7 Not Defined 0.1% spring-webmvc-6.0.13.jar Transitive 3.2.10

Reachable

CVE-2024-22262 High 8.6 Not Defined 0.1% spring-web-6.0.13.jar Transitive 3.1.11

Reachable

CVE-2024-22259 High 8.6 Not Defined 0.1% spring-web-6.0.13.jar Transitive 3.1.10

Reachable

CVE-2024-22243 High 8.6 Not Defined 0.1% spring-web-6.0.13.jar Transitive 3.1.9

Reachable

CVE-2024-38809 Medium 6.9 Not Defined 0.0% spring-web-6.0.13.jar Transitive 3.2.0

Reachable

CVE-2023-34053 Medium 6.9 Not Defined 0.1% spring-web-6.0.13.jar Transitive 3.1.6

Reachable

CVE-2024-38819 High 8.7 Not Defined spring-webmvc-6.0.13.jar Transitive 3.2.11

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

Details

CVE-2024-38816 ### Vulnerable Library - spring-webmvc-6.0.13.jar

Spring Web MVC

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/6.0.13/spring-webmvc-6.0.13.jar

Dependency Hierarchy: - spring-boot-starter-web-3.1.5.jar (Root Library) - :x: **spring-webmvc-6.0.13.jar** (Vulnerable Library)

Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application) -> org.springframework.web.servlet.function.DefaultServerRequest$CheckNotModifiedResponse (Extension) -> org.springframework.web.servlet.function.DefaultServerRequest (Extension) -> org.springframework.web.servlet.function.RouterFunctions (Extension) -> ❌ org.springframework.web.servlet.function.PathResourceLookupFunction (Vulnerable Component) ```

### Vulnerability Details

Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running. Specifically, an application is vulnerable when both of the following are true: * the web application uses RouterFunctions to serve static resources * resource handling is explicitly configured with a FileSystemResource location However, malicious requests are blocked and rejected when any of the following is true: * the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html  is in use * the application runs on Tomcat or Jetty

Publish Date: 2024-09-13

URL: CVE-2024-38816

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (8.7)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-09-13

Fix Resolution (org.springframework:spring-webmvc): 6.1.13

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.2.10

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-22262 ### Vulnerable Library - spring-web-6.0.13.jar

Spring Web

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

Path to dependency file: /pom.xml

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

Dependency Hierarchy: - spring-boot-starter-web-3.1.5.jar (Root Library) - spring-boot-starter-json-3.1.5.jar - :x: **spring-web-6.0.13.jar** (Vulnerable Library)

Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application) -> org.springframework.web.filter.ForwardedHeaderFilter$ForwardedHeaderExtractingResponse (Extension) -> ❌ org.springframework.web.util.UriComponentsBuilder (Vulnerable Component) ```

### Vulnerability Details

Applications that use UriComponentsBuilder to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect https://cwe.mitre.org/data/definitions/601.html  attack or to a SSRF attack if the URL is used after passing validation checks. This is the same as CVE-2024-22259 https://spring.io/security/cve-2024-22259  and CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.

Publish Date: 2024-04-16

URL: CVE-2024-22262

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (8.6)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-04-16

Fix Resolution (org.springframework:spring-web): 6.0.19

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.1.11

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-22259 ### Vulnerable Library - spring-web-6.0.13.jar

Spring Web

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

Path to dependency file: /pom.xml

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

Dependency Hierarchy: - spring-boot-starter-web-3.1.5.jar (Root Library) - spring-boot-starter-json-3.1.5.jar - :x: **spring-web-6.0.13.jar** (Vulnerable Library)

Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application) -> org.springframework.web.filter.ForwardedHeaderFilter$ForwardedHeaderExtractingResponse (Extension) -> ❌ org.springframework.web.util.UriComponentsBuilder (Vulnerable Component) ```

### Vulnerability Details

Applications that use UriComponentsBuilder in Spring Framework to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect https://cwe.mitre.org/data/definitions/601.html  attack or to a SSRF attack if the URL is used after passing validation checks. This is the same as CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.

Publish Date: 2024-03-16

URL: CVE-2024-22259

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (8.6)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-03-16

Fix Resolution (org.springframework:spring-web): 6.0.18

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.1.10

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-22243 ### Vulnerable Library - spring-web-6.0.13.jar

Spring Web

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

Path to dependency file: /pom.xml

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

Dependency Hierarchy: - spring-boot-starter-web-3.1.5.jar (Root Library) - spring-boot-starter-json-3.1.5.jar - :x: **spring-web-6.0.13.jar** (Vulnerable Library)

Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application) -> org.springframework.web.filter.ForwardedHeaderFilter$ForwardedHeaderExtractingResponse (Extension) -> ❌ org.springframework.web.util.UriComponentsBuilder (Vulnerable Component) ```

### Vulnerability Details

Applications that use UriComponentsBuilder to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect https://cwe.mitre.org/data/definitions/601.html  attack or to a SSRF attack if the URL is used after passing validation checks.

Publish Date: 2024-02-23

URL: CVE-2024-22243

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (8.6)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-02-23

Fix Resolution (org.springframework:spring-web): 6.0.17

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.1.9

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-38809 ### Vulnerable Library - spring-web-6.0.13.jar

Spring Web

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

Path to dependency file: /pom.xml

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

Dependency Hierarchy: - spring-boot-starter-web-3.1.5.jar (Root Library) - spring-boot-starter-json-3.1.5.jar - :x: **spring-web-6.0.13.jar** (Vulnerable Library)

Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.passwordreset.ResetLinkAssignmentForgotPassword (Application) -> ❌ org.springframework.http.HttpHeaders (Vulnerable Component) ```

### Vulnerability Details

Applications that parse ETags from "If-Match" or "If-None-Match" request headers are vulnerable to DoS attack. Users of affected versions should upgrade to the corresponding fixed version. Users of older, unsupported versions could enforce a size limit on "If-Match" and "If-None-Match" headers, e.g. through a Filter.

Publish Date: 2024-09-27

URL: CVE-2024-38809

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

### CVSS 4 Score Details (6.9)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-09-27

Fix Resolution (org.springframework:spring-web): 6.0.23

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

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2023-34053 ### Vulnerable Library - spring-web-6.0.13.jar

Spring Web

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

Path to dependency file: /pom.xml

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

Dependency Hierarchy: - spring-boot-starter-web-3.1.5.jar (Root Library) - spring-boot-starter-json-3.1.5.jar - :x: **spring-web-6.0.13.jar** (Vulnerable Library)

Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.xxe.SimpleXXE (Application) -> org.eclipse.jetty.servlet.Invoker$InvokedRequest (Extension) -> org.eclipse.jetty.server.Dispatcher (Extension) -> org.springframework.web.server.adapter.AbstractReactiveWebInitializer$ServletContextDestroyedListener (Extension) ... -> org.springframework.web.server.adapter.WebHttpHandlerBuilder (Extension) -> org.springframework.web.server.adapter.HttpWebHandlerAdapter (Extension) -> ❌ org.springframework.web.server.i18n.AcceptHeaderLocaleContextResolver (Vulnerable Component) ```

### Vulnerability Details

In Spring Framework versions 6.0.0 - 6.0.13, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition. Specifically, an application is vulnerable when all of the following are true: * the application uses Spring MVC or Spring WebFlux * io.micrometer:micrometer-core is on the classpath * an ObservationRegistry is configured in the application to record observations Typically, Spring Boot applications need the org.springframework.boot:spring-boot-actuator dependency to meet all conditions.

Publish Date: 2023-11-28

URL: CVE-2023-34053

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (6.9)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2023-34053

Release Date: 2023-11-28

Fix Resolution (org.springframework:spring-web): 6.0.14

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.1.6

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-38819 ### Vulnerable Library - spring-webmvc-6.0.13.jar

Spring Web MVC

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/6.0.13/spring-webmvc-6.0.13.jar

Dependency Hierarchy: - spring-boot-starter-web-3.1.5.jar (Root Library) - :x: **spring-webmvc-6.0.13.jar** (Vulnerable Library)

Found in HEAD commit: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Found in base branch: main

### Vulnerability Details

Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running. This is similar to CVE-2024-38816, but with different input.

Publish Date: 2024-06-20

URL: CVE-2024-38819

### Threat Assessment

Exploit Maturity: Not Defined

EPSS:

### CVSS 4 Score Details (8.7)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-06-20

Fix Resolution (org.springframework:spring-webmvc): 6.1.14

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.2.11

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

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

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

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