CVE-2021-39194CWE-835

Denial of service while parsing polymorphic input with tagged polymorphism style in kaml

Medium · published September 7, 2021

CVSS v3.1
4.3
EPSS
2%
Percentile
76.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.01658 · 76.5th percentile
Weakness
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')
Published
2021-09-07T19:25Z
EPSS history
Timeline
  • 07 SEP 19:25Z
    Denial of service while parsing polymorphic input with tagged polymorphism style in kaml
    cvelistv5