CVE-2021-39194
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.
Does this matter?
Lower severity and a low EPSS score (1.66%). Track it; it rarely justifies an emergency change on its own.
Description
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.
- CVSS 3.1
- 6.5 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 1.66% probability · 75th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-835
- Affected
- kaml project/kaml
- Source
- security-advisories@github.com
References
- https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6aPatch, Third Party Advisory
- https://github.com/charleskorn/kaml/issues/179Exploit, Patch, Third Party Advisory
- https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4Exploit, Third Party Advisory
- https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6aPatch, Third Party Advisory
- https://github.com/charleskorn/kaml/issues/179Exploit, Patch, Third Party Advisory
- https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.