amaybaum-prod / vprofile-project

0 stars 3 forks source link

jackson-dataformat-cbor-2.8.6.jar: 1 vulnerabilities (highest severity is: 7.5) reachable - autoclosed #52

Closed mend-for-github-com[bot] closed 6 months ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - jackson-dataformat-cbor-2.8.6.jar

Support for reading and writing Concise Binary Object Representation ([CBOR](https://www.rfc-editor.org/info/rfc7049) encoded data using Jackson abstractions (streaming API, data binding, tree model)

Library home page: http://github.com/FasterXML/jackson-dataformats-binary

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.8.6/jackson-dataformat-cbor-2.8.6.jar,/target/vprofile-v2/WEB-INF/lib/jackson-dataformat-cbor-2.8.6.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jackson-dataformat-cbor version) Remediation Possible** Reachability
CVE-2020-28491 High 7.5 jackson-dataformat-cbor-2.8.6.jar Direct 2.11.4

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

Details

CVE-2020-28491 ### Vulnerable Library - jackson-dataformat-cbor-2.8.6.jar

Support for reading and writing Concise Binary Object Representation ([CBOR](https://www.rfc-editor.org/info/rfc7049) encoded data using Jackson abstractions (streaming API, data binding, tree model)

Library home page: http://github.com/FasterXML/jackson-dataformats-binary

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.8.6/jackson-dataformat-cbor-2.8.6.jar,/target/vprofile-v2/WEB-INF/lib/jackson-dataformat-cbor-2.8.6.jar

Dependency Hierarchy: - :x: **jackson-dataformat-cbor-2.8.6.jar** (Vulnerable Library)

Found in base branch: vp-rem

### Reachability Analysis

This vulnerability is potentially used ``` com.visualpathit.account.controller.ElasticSearchController (Application) -> org.elasticsearch.common.xcontent.XContentFactory (Extension) -> org.elasticsearch.common.xcontent.cbor.CborXContent (Extension) -> ❌ com.fasterxml.jackson.dataformat.cbor.CBORGenerator (Vulnerable Component) ```

### Vulnerability Details

This affects the package com.fasterxml.jackson.dataformat:jackson-dataformat-cbor from 0 and before 2.11.4, from 2.12.0-rc1 and before 2.12.1. Unchecked allocation of byte buffer can cause a java.lang.OutOfMemoryError exception.

Publish Date: 2021-02-18

URL: CVE-2020-28491

### 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28491

Release Date: 2021-02-18

Fix Resolution: 2.11.4

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