CVE-2021-39194 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a | CVE | PatchThird Party Advisory |
| https://github.com/charleskorn/kaml/issues/179 | CVE | ExploitPatchThird Party Advisory |
| https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4 | CVE | ExploitThird Party Advisory |
| https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bc6a | [email protected] | PatchThird Party Advisory |
| https://github.com/charleskorn/kaml/issues/179 | [email protected] | ExploitPatchThird Party Advisory |
| https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kaml project kaml | < 0.35.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Sep 14, 2021 | Initial Analysis | [email protected] |