CVE-2023-28118
kaml has potential denial of service while parsing input with anchors and aliases
- State
- Published
- Severity
- 7.5 High
- Published
- Mar 20, 2023
- Updated
- Feb 25, 2025
- Reserved
- Mar 10, 2023
Description
kaml provides YAML support for kotlinx.serialization. Prior to version 0.53.0, applications that use kaml to parse untrusted input containing anchors and aliases may consume excessive memory and crash. Version 0.53.0 and later default to refusing to parse YAML documents containing anchors and aliases. There are no known workarounds.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Weaknesses
- CWE-776 Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
Affected Products
| Product | Versions |
|---|---|
kamlcharleskorn |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.