kaml has potential denial of service while parsing input with anchors and aliases
### Impact Applications that use kaml to parse untrusted input containing anchors and aliases may consume excessive memory and crash. ### Patches Version 0.53.0 and later default to refusing to parse YAML documents containing anchors and aliases. ### Workarounds None. ### References Wikipedia has an explanation of this class of vulnerability: [billion laughs attack](https://en.wikipedia.org/wiki/Billion_laughs_attack) ### Acknowledgements Thank you to @gdude2002 for reporting this issue.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2023-28118US | high7.5 | — | ||
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 excess… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/charleskorn/kamlPACKAGE
- https://github.com/charleskorn/kaml/commit/5f82a2d7e00bfc307afca05d1dc4d7c50593531aWEB
- https://github.com/charleskorn/kaml/releases/tag/0.53.0WEB
- https://github.com/charleskorn/kaml/security/advisories/GHSA-c24f-2j3g-rg48WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-28118ADVISORY
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan