CVE-2021-39194
Summary
| CVE | CVE-2021-39194 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-09-07 20:15:00 UTC |
| Updated | 2021-09-14 17:06:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|
| Application |
Kaml Project |
Kaml |
All |
All |
All |
All |
References
| Reference | Source | Link | Tags |
|---|
| Fix issue where decoding a polymorphic type that uses the tag polymor… · charleskorn/kaml@e18785d · GitHub |
MISC |
github.com |
|
| Polymorphic serialization hangs · Issue #179 · charleskorn/kaml · GitHub |
MISC |
github.com |
|
| Potential denial of service while parsing polymorphic input with tagged polymorphism style · Advisory · charleskorn/kaml · GitHub |
CONFIRM |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 981155 Java (maven) Security Update for com.charleskorn.kaml:kaml (GHSA-fmm9-3gv8-58f4)