Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jackson-annotations-2.14.1.jar: 2 vulnerabilities (highest severity is: 8.3) reachable #2

Open
mend-for-github-com bot opened this issue May 1, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented May 1, 2023

Vulnerable Library - jackson-annotations-2.14.1.jar

Path to dependency file: /workflow-language/build.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.dataformat/jackson-dataformat-properties/2.14.1/36de33fa1870eccd3a7899a41866b69b7b7cfd5b/jackson-dataformat-properties-2.14.1.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jackson-annotations version) Remediation Possible** Reachability
CVE-2022-1471 High 8.3 snakeyaml-1.33.jar Transitive 2.14.2

Reachable

CVE-2023-3894 Medium 5.8 jackson-dataformat-properties-2.14.1.jar Transitive 2.14.2

Unreachable

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

Details

CVE-2022-1471

Vulnerable Library - snakeyaml-1.33.jar

YAML 1.1 parser and emitter for Java

Library home page: https://bitbucket.org/snakeyaml/snakeyaml

Path to dependency file: /workflow-language/build.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.33/2cd0a87ff7df953f810c344bdf2fe3340b954c69/snakeyaml-1.33.jar

Dependency Hierarchy:

  • jackson-annotations-2.14.1.jar (Root Library)
    • jackson-bom-2.14.1.pom
      • jackson-dataformat-yaml-2.14.1.jar
        • snakeyaml-1.33.jar (Vulnerable Library)

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

com.symphony.bdk.workflow.swadl.validator.YamlJsonPointer (Application)
  -> org.yaml.snakeyaml.Yaml (Extension)
   -> ❌ org.yaml.snakeyaml.constructor.BaseConstructor (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 (8.3)

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

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

Direct dependency fix Resolution (com.fasterxml.jackson.core:jackson-annotations): 2.14.2

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-3894

Vulnerable Library - jackson-dataformat-properties-2.14.1.jar

Support for reading and writing content of "Java Properties" style configuration files as if there was implied nesting structure (by default using dots as separators).

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

Path to dependency file: /workflow-language/build.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.dataformat/jackson-dataformat-properties/2.14.1/36de33fa1870eccd3a7899a41866b69b7b7cfd5b/jackson-dataformat-properties-2.14.1.jar

Dependency Hierarchy:

  • jackson-annotations-2.14.1.jar (Root Library)
    • jackson-bom-2.14.1.pom
      • jackson-dataformat-properties-2.14.1.jar (Vulnerable Library)

Found in base branch: master

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

Those using jackson-dataformats-text to parse TOML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

Publish Date: 2023-08-08

URL: CVE-2023-3894

CVSS 3 Score Details (5.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2023-08-08

Fix Resolution (com.fasterxml.jackson.dataformat:jackson-dataformat-properties): 2.15.0-rc1

Direct dependency fix Resolution (com.fasterxml.jackson.core:jackson-annotations): 2.14.2

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label May 1, 2023
@mend-for-github-com mend-for-github-com bot changed the title jackson-annotations-2.14.1.jar: 1 vulnerabilities (highest severity is: 9.8) reachable jackson-annotations-2.14.1.jar: 2 vulnerabilities (highest severity is: 9.8) reachable Aug 10, 2023
@mend-for-github-com mend-for-github-com bot changed the title jackson-annotations-2.14.1.jar: 2 vulnerabilities (highest severity is: 9.8) reachable jackson-annotations-2.14.1.jar: 2 vulnerabilities (highest severity is: 9.8) Sep 15, 2023
@mend-for-github-com mend-for-github-com bot changed the title jackson-annotations-2.14.1.jar: 2 vulnerabilities (highest severity is: 9.8) jackson-annotations-2.14.1.jar: 2 vulnerabilities (highest severity is: 8.3) Sep 8, 2024
@mend-for-github-com mend-for-github-com bot changed the title jackson-annotations-2.14.1.jar: 2 vulnerabilities (highest severity is: 8.3) jackson-annotations-2.14.1.jar: 2 vulnerabilities (highest severity is: 8.3) reachable Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants