Skip to content

jjwt-0.9.1.jar: 3 vulnerabilities (highest severity is: 7.5) #56

@dev-mend-for-github-com

Description

@dev-mend-for-github-com
Vulnerable Library - jjwt-0.9.1.jar

Path to dependency file: /webgoat-lessons/jwt/pom.xml

Path to vulnerable library: /webgoat-lessons/challenge/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-container/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-lessons/jwt/pom.xml

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jjwt version) Remediation Possible**
CVE-2022-42004 High 7.5 jackson-databind-2.13.1.jar Transitive 0.12.0
CVE-2022-42003 High 7.5 jackson-databind-2.13.1.jar Transitive 0.12.0
CVE-2020-36518 High 7.5 jackson-databind-2.13.1.jar Transitive 0.12.0

**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.13.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: /webgoat-lessons/challenge/pom.xml

Path to vulnerable library: /webgoat-lessons/challenge/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-container/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-lessons/jwt/pom.xml

Dependency Hierarchy:

  • jjwt-0.9.1.jar (Root Library)
    • jackson-databind-2.13.1.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

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

Direct dependency fix Resolution (io.jsonwebtoken:jjwt): 0.12.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-42003

Vulnerable Library - jackson-databind-2.13.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: /webgoat-lessons/challenge/pom.xml

Path to vulnerable library: /webgoat-lessons/challenge/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-container/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-lessons/jwt/pom.xml

Dependency Hierarchy:

  • jjwt-0.9.1.jar (Root Library)
    • jackson-databind-2.13.1.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

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

Direct dependency fix Resolution (io.jsonwebtoken:jjwt): 0.12.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2020-36518

Vulnerable Library - jackson-databind-2.13.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: /webgoat-lessons/challenge/pom.xml

Path to vulnerable library: /webgoat-lessons/challenge/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-container/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-lessons/jwt/pom.xml

Dependency Hierarchy:

  • jjwt-0.9.1.jar (Root Library)
    • jackson-databind-2.13.1.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

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 (com.fasterxml.jackson.core:jackson-databind): 2.13.2.1

Direct dependency fix Resolution (io.jsonwebtoken:jjwt): 0.12.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions