amaybaum-dev / verademo

A deliberately insecure Java web application
MIT License
0 stars 3 forks source link

jackson-databind-2.11.0.jar: 4 vulnerabilities (highest severity is: 7.5) reachable - autoclosed #26

Closed dev-mend-for-github-com[bot] closed 1 year ago

dev-mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - jackson-databind-2.11.0.jar

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

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar,/WEB-INF/lib/jackson-databind-2.11.0.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jackson-databind version) Remediation Possible** Reachability
CVE-2022-42004 High 7.5 jackson-databind-2.11.0.jar Direct 2.12.7.1

CVE-2022-42003 High 7.5 jackson-databind-2.11.0.jar Direct 2.12.7.1

CVE-2020-36518 High 7.5 jackson-databind-2.11.0.jar Direct 2.12.6.1

CVE-2021-46877 High 7.5 jackson-databind-2.11.0.jar Direct 2.12.6

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

Details

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

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

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar,/WEB-INF/lib/jackson-databind-2.11.0.jar

Dependency Hierarchy: - :x: **jackson-databind-2.11.0.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.controller.UserController (Application) -> org.springframework.web.filter.HttpPutFormContentFilter$HttpPutFormContentRequestWrapper (Extension) -> org.springframework.web.filter.HttpPutFormContentFilter (Extension) -> org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter (Extension) -> org.springframework.http.converter.xml.MappingJackson2XmlHttpMessageConverter (Extension) -> com.fasterxml.jackson.databind.ObjectMapper (Extension) -> ❌ com.fasterxml.jackson.databind.DeserializationFeature (Vulnerable Component) ```

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

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-42003 ### Vulnerable Library - jackson-databind-2.11.0.jar

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

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar,/WEB-INF/lib/jackson-databind-2.11.0.jar

Dependency Hierarchy: - :x: **jackson-databind-2.11.0.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.controller.UserController (Application) -> org.springframework.web.filter.HttpPutFormContentFilter$HttpPutFormContentRequestWrapper (Extension) -> org.springframework.web.filter.HttpPutFormContentFilter (Extension) -> org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter (Extension) -> org.springframework.http.converter.smile.MappingJackson2SmileHttpMessageConverter (Extension) -> com.fasterxml.jackson.databind.json.JsonMapper (Extension) -> ❌ com.fasterxml.jackson.databind.deser.std.StdDeserializer (Vulnerable Component) ```

### Vulnerability Details

In FasterXML jackson-databind before 2.14.0-rc1, 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. Additional fix version in 2.13.4.1 and 2.12.17.1

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

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-36518 ### Vulnerable Library - jackson-databind-2.11.0.jar

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

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar,/WEB-INF/lib/jackson-databind-2.11.0.jar

Dependency Hierarchy: - :x: **jackson-databind-2.11.0.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.controller.UserController (Application) -> org.springframework.web.filter.HttpPutFormContentFilter$HttpPutFormContentRequestWrapper (Extension) -> org.springframework.web.filter.HttpPutFormContentFilter (Extension) -> org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter (Extension) -> org.springframework.http.converter.json.MappingJackson2HttpMessageConverter (Extension) -> com.fasterxml.jackson.databind.json.JsonMapper (Extension) -> ❌ com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla (Vulnerable Component) ```

### Vulnerability Details

jackson-databind before 2.13.0 allows a Java StackOverflow exception and denial of service via a large depth of nested objects. Mend Note: After conducting further research, Mend has determined that all versions of com.fasterxml.jackson.core:jackson-databind up to version 2.13.2 are vulnerable to CVE-2020-36518.

Publish Date: 2022-03-11

URL: CVE-2020-36518

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

Fix Resolution: 2.12.6.1

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-46877 ### Vulnerable Library - jackson-databind-2.11.0.jar

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

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

Path to dependency file: /app/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar,/WEB-INF/lib/jackson-databind-2.11.0.jar

Dependency Hierarchy: - :x: **jackson-databind-2.11.0.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.controller.UserController (Application) -> org.springframework.web.filter.HttpPutFormContentFilter$HttpPutFormContentRequestWrapper (Extension) -> org.springframework.web.filter.HttpPutFormContentFilter (Extension) -> com.fasterxml.jackson.databind.DeserializationContext (Extension) ... -> com.fasterxml.jackson.databind.node.ArrayNode (Extension) -> com.fasterxml.jackson.databind.node.BaseJsonNode (Extension) -> ❌ com.fasterxml.jackson.databind.node.NodeSerialization (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: 2.12.6

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