Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Kaml Project | Kaml | < 0.35.3 |
Related Weaknesses (CWE)
References
- https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bPatchThird Party Advisory
- https://github.com/charleskorn/kaml/issues/179ExploitPatchThird Party Advisory
- https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4ExploitThird Party Advisory
- https://github.com/charleskorn/kaml/commit/e18785d043fc6324c81e968aae9764b4b060bPatchThird Party Advisory
- https://github.com/charleskorn/kaml/issues/179ExploitPatchThird Party Advisory
- https://github.com/charleskorn/kaml/security/advisories/GHSA-fmm9-3gv8-58f4ExploitThird Party Advisory
FAQ
What is CVE-2021-39194?
CVE-2021-39194 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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...
How severe is CVE-2021-39194?
CVE-2021-39194 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-39194?
Check the references section above for vendor advisories and patch information. Affected products include: Kaml Project Kaml.