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-41854 (Medium) detected in snakeyaml-1.29.jar #2938

Closed
1 task
mend-for-github-com bot opened this issue Nov 28, 2022 · 2 comments
Closed
1 task

CVE-2022-41854 (Medium) detected in snakeyaml-1.29.jar #2938

mend-for-github-com bot opened this issue Nov 28, 2022 · 2 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Nov 28, 2022

CVE-2022-41854 - Medium Severity Vulnerability

Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

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

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.29/6d0cdafb2010f1297e574656551d7145240f6e25/snakeyaml-1.29.jar

Dependency Hierarchy:

  • snakeyaml-1.29.jar (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Those using Snakeyaml to parse untrusted YAML files 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 stack overflow. This effect may support a denial of service attack.

Publish Date: 2022-11-11

URL: CVE-2022-41854

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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://bitbucket.org/snakeyaml/snakeyaml/issues/531/

Release Date: 2022-11-11

Fix Resolution: 1.32


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Nov 28, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-41854 (Medium) detected in snakeyaml-1.33.jar, snakeyaml-1.29.jar CVE-2022-41854 (Medium) detected in snakeyaml-1.29.jar Dec 1, 2022
@Divyaasm
Copy link
Collaborator

Divyaasm commented Feb 9, 2023

We have already updated the snakeyaml version to 1.33(latest) which has only a single vulnerability CVE-2022-1471. Not sure if the the existing CVE-2022-41854 is reliable.

@rishabh6788
Copy link
Collaborator

Fixed in this PR #3268

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

2 participants