CVEvulnerability
CVE-2023-28118
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-03-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-776
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.
Affected configurations
• kaml project kaml (< 0.53.0)
Related
Weakness · CWE (1)
- CWE-776 Improper Restriction of Recursive Entity References in DTDs weakness
References
- https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a Patch
- https://github.com/charleskorn/kaml/releases/tag/0.53.0 Release Notes
- https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48 Vendor Advisory
- https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531a Patch
- https://github.com/charleskorn/kaml/releases/tag/0.53.0 Release Notes
- https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48 Vendor Advisory