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-2021-39194 (Medium) detected in kaml-0.20.0.jar - autoclosed #3064

Closed
mend-for-github-com bot opened this issue Jul 25, 2023 · 2 comments
Closed
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Milestone

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Jul 25, 2023

CVE-2021-39194 - Medium Severity Vulnerability

Vulnerable Library - kaml-0.20.0.jar

YAML support for kotlinx.serialization

Library home page: https://github.com/

Path to dependency file: /data-prepper-main/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.charleskorn.kaml/kaml/0.20.0/ba87fe23d666195fd7586a9806a945bccc681ec4/kaml-0.20.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.charleskorn.kaml/kaml/0.20.0/ba87fe23d666195fd7586a9806a945bccc681ec4/kaml-0.20.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.charleskorn.kaml/kaml/0.20.0/ba87fe23d666195fd7586a9806a945bccc681ec4/kaml-0.20.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.charleskorn.kaml/kaml/0.20.0/ba87fe23d666195fd7586a9806a945bccc681ec4/kaml-0.20.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.charleskorn.kaml/kaml/0.20.0/ba87fe23d666195fd7586a9806a945bccc681ec4/kaml-0.20.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.charleskorn.kaml/kaml/0.20.0/ba87fe23d666195fd7586a9806a945bccc681ec4/kaml-0.20.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.charleskorn.kaml/kaml/0.20.0/ba87fe23d666195fd7586a9806a945bccc681ec4/kaml-0.20.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.charleskorn.kaml/kaml/0.20.0/ba87fe23d666195fd7586a9806a945bccc681ec4/kaml-0.20.0.jar

Dependency Hierarchy:

  • kafka-plugins-2.5.0-SNAPSHOT (Root Library)
    • schema-registry-serde-1.1.15.jar
      • wire-compiler-3.7.1.jar
        • kaml-0.20.0.jar (Vulnerable Library)

Found in HEAD commit: 548b5e0946ecf29631cc9b391031f3291ca23804

Found in base branch: main

Vulnerability Details

kaml is an open source implementation of the YAML format with support for kotlinx.serialization. In affected versions attackers that could provide arbitrary YAML input to an application that uses kaml could cause the application to endlessly loop while parsing the input. This could result in resource starvation and denial of service. This only affects applications that use polymorphic serialization with the default tagged polymorphism style. Applications using the property polymorphism style are not affected. YAML input for a polymorphic type that provided a tag but no value for the object would trigger the issue. Version 0.35.3 or later contain the fix for this issue.

Publish Date: 2021-09-07

URL: CVE-2021-39194

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: GHSA-fmm9-3gv8-58f4

Release Date: 2021-09-07

Fix Resolution: com.charleskorn.kaml:kaml:0.35.3

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jul 25, 2023
@dlvenable
Copy link
Member

@hshardeesi , You have made some recent changes to the Kafka plugins. Can you take a look to see if we actually need this dependency. If we do, please update.

@dlvenable dlvenable added this to the v2.5 milestone Sep 7, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-39194 (Medium) detected in kaml-0.20.0.jar CVE-2021-39194 (Medium) detected in kaml-0.20.0.jar - autoclosed Sep 26, 2023
@mend-for-github-com
Copy link
Contributor 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
Archived in project
Development

No branches or pull requests

2 participants