CVE-2021-39194

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

Configuration 1 (hide)

cpe:2.3:a:kaml_project:kaml:*:*:*:*:*:*:*:*

History

14 Sep 2021, 17:06

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 4.3
v2 : 4.0
v3 : 6.5
CPE cpe:2.3:a:kaml_project:kaml:*:*:*:*:*:*:*:*
References (MISC) https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a - (MISC) https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a - Patch, Third Party Advisory
References (MISC) https://github.com/charleskorn/kaml/issues/179 - (MISC) https://github.com/charleskorn/kaml/issues/179 - Exploit, Patch, Third Party Advisory
References (CONFIRM) https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4 - (CONFIRM) https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4 - Exploit, Third Party Advisory

07 Sep 2021, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-09-07 20:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-39194

Mitre link : CVE-2021-39194

CVE.ORG link : CVE-2021-39194


JSON object : View

Products Affected

kaml_project

  • kaml
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')