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-25857 (High) detected in multiple libraries #141

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

CVE-2022-25857 (High) detected in multiple libraries #141

mend-for-github-com bot opened this issue Sep 1, 2022 · 2 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 1, 2022

CVE-2022-25857 - High Severity Vulnerability

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

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.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.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 base branch: master

Vulnerability Details

The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial of Service (DoS) due missing to nested depth limitation for collections.

Publish Date: 2022-08-30

URL: CVE-2022-25857

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

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25857

Release Date: 2022-08-30

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


⛑️ 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 Sep 1, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-25857 (High) detected in snakeyaml-1.24.jar, snakeyaml-1.13.jar CVE-2022-25857 (High) detected in snakeyaml-1.24.jar, snakeyaml-1.13.jar - autoclosed Jun 16, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-25857 (High) detected in snakeyaml-1.24.jar, snakeyaml-1.13.jar - autoclosed CVE-2022-25857 (High) detected in snakeyaml-1.24.jar, snakeyaml-1.13.jar Jun 20, 2023
@mend-for-github-com mend-for-github-com bot reopened this Jun 20, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-25857 (High) detected in snakeyaml-1.24.jar, snakeyaml-1.13.jar CVE-2022-25857 (High) detected in multiple libraries Mar 3, 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-25857 (High) detected in multiple libraries CVE-2022-25857 (High) detected in multiple libraries - autoclosed Apr 13, 2024
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-25857 (High) detected in multiple libraries - autoclosed CVE-2022-25857 (High) 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