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-38749 (Medium) detected in multiple libraries #145

Open
1 task
mend-for-github-com bot opened this issue Sep 5, 2022 · 4 comments
Open
1 task

CVE-2022-38749 (Medium) detected in multiple libraries #145

mend-for-github-com bot opened this issue Sep 5, 2022 · 4 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Sep 5, 2022

CVE-2022-38749 - Medium Severity Vulnerability

Vulnerable Libraries - snakeyaml-1.13.jar, snakeyaml-1.24.jar, snakeyaml-1.23.jar

snakeyaml-1.13.jar

YAML 1.1 parser and emitter for Java

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

Path to dependency file: /server/plugins/noderoster/db/pom.xml

Path to vulnerable library: /server/plugins/noderoster/db/pom.xml,/server/plugins/ansible/impl/pom.xml,/server/db/pom.xml,/server/plugins/ansible/db/pom.xml,/server/liquibase-ext/pom.xml

Dependency Hierarchy:

  • concord-ansible-plugin-db-1.75.1-SNAPSHOT.jar (Root Library)
    • concord-server-db-1.75.1-SNAPSHOT.jar
      • liquibase-ext-1.75.1-SNAPSHOT.jar
        • liquibase-core-3.5.1.jar
          • snakeyaml-1.13.jar (Vulnerable Library)
snakeyaml-1.24.jar

YAML 1.1 parser and emitter for Java

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

Path to dependency file: /server/dist/pom.xml

Path to vulnerable library: /server/dist/pom.xml,/k8s/agent-operator/pom.xml,/cli/pom.xml,/runtime/v2/model/pom.xml,/server/impl/pom.xml,/docker-images/agent/pom.xml,/policy-engine/pom.xml,/server/plugins/noderoster/impl/pom.xml,/runtime/v2/sdk/pom.xml,/runtime/v2/runner/pom.xml,/runtime/v1/impl/pom.xml,/runtime/loader/pom.xml

Dependency Hierarchy:

  • kubernetes-client-4.8.0.jar (Root Library)
    • jackson-dataformat-yaml-2.10.2.jar
      • snakeyaml-1.24.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: /runtime/v1/project-model/pom.xml

Path to vulnerable library: /runtime/v1/project-model/pom.xml

Dependency Hierarchy:

  • jackson-dataformat-yaml-2.10.2.jar (Root Library)
    • snakeyaml-1.23.jar (Vulnerable Library)

Found in HEAD commit: 5478aeeda738bb625d7a100be550b55df120b611

Found in base branch: master

Vulnerability Details

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

Publish Date: 2022-09-05

URL: CVE-2022-38749

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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://bitbucket.org/snakeyaml/snakeyaml/issues/526/stackoverflow-oss-fuzz-47027

Release Date: 2022-09-05

Fix Resolution (org.yaml:snakeyaml): 1.31

Direct dependency fix Resolution (io.fabric8:kubernetes-client): 6.2.0

Fix Resolution (org.yaml:snakeyaml): 1.31

Direct dependency fix Resolution (com.fasterxml.jackson.dataformat:jackson-dataformat-yaml): 2.13.0


  • 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 Sep 5, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-38749 (Medium) detected in snakeyaml-1.13.jar, snakeyaml-1.24.jar CVE-2022-38749 (Medium) detected in snakeyaml-1.13.jar, snakeyaml-1.24.jar - 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.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-38749 (Medium) detected in snakeyaml-1.13.jar, snakeyaml-1.24.jar - autoclosed CVE-2022-38749 (Medium) detected in snakeyaml-1.13.jar, snakeyaml-1.24.jar Jun 21, 2023
@mend-for-github-com mend-for-github-com bot reopened this Jun 21, 2023
@mend-for-github-com
Copy link
Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-38749 (Medium) detected in snakeyaml-1.13.jar, snakeyaml-1.24.jar CVE-2022-38749 (Medium) detected in multiple libraries Mar 3, 2024
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-38749 (Medium) detected in multiple libraries CVE-2022-38749 (Medium) detected in multiple libraries - autoclosed Apr 13, 2024
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.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-38749 (Medium) detected in multiple libraries - autoclosed CVE-2022-38749 (Medium) detected in multiple libraries Jun 16, 2024
@mend-for-github-com mend-for-github-com bot reopened this Jun 16, 2024
Copy link
Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in 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