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

CVE-2022-1471 (High) detected in multiple libraries #362

Open
mend-for-github-com bot opened this issue Jan 3, 2023 · 1 comment
Open

CVE-2022-1471 (High) detected in multiple libraries #362

mend-for-github-com bot opened this issue Jan 3, 2023 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jan 3, 2023

CVE-2022-1471 - High Severity Vulnerability

Vulnerable Libraries - snakeyaml-1.15.jar, snakeyaml-1.18.jar, snakeyaml-1.23.jar

snakeyaml-1.15.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /foxtrot-sql/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.15/snakeyaml-1.15.jar,/home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.15/snakeyaml-1.15.jar

Dependency Hierarchy:

  • foxtrot-common-6.3.1-7.jar (Root Library)
    • dropwizard-swagger-1.3.7-1.jar
      • dropwizard-core-1.3.13.jar
        • dropwizard-configuration-1.3.13.jar
          • jackson-dataformat-yaml-2.9.9.jar
            • snakeyaml-1.15.jar (Vulnerable Library)
snakeyaml-1.18.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /foxtrot-common/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.18/snakeyaml-1.18.jar

Dependency Hierarchy:

  • dropwizard-swagger-1.3.7-1.jar (Root Library)
    • dropwizard-core-1.3.7.jar
      • dropwizard-configuration-1.3.7.jar
        • jackson-dataformat-yaml-2.9.6.jar
          • snakeyaml-1.18.jar (Vulnerable Library)
snakeyaml-1.23.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /foxtrot-server/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar,/home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar

Dependency Hierarchy:

  • dropwizard-core-1.3.13.jar (Root Library)
    • dropwizard-configuration-1.3.13.jar
      • jackson-dataformat-yaml-2.9.9.jar
        • snakeyaml-1.23.jar (Vulnerable Library)

Found in HEAD commit: ffb8a6014463ce8aac1bf6e7dc9a23fc4a2a8adc

Found in base branch: master

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 (io.dropwizard:dropwizard-core): 3.0.1


⛑️ 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 WhiteSource label Jan 3, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-1471 (High) detected in multiple libraries CVE-2022-1471 (Critical) detected in multiple libraries May 27, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-1471 (Critical) detected in multiple libraries CVE-2022-1471 (Critical) detected in multiple libraries - autoclosed Jun 16, 2023
@mend-for-github-com
Copy link
Author

✔️ 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.

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 WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants