What’s Vulnerable › Vulnerabilities

CVE-2023-28118: kaml has potential denial of service while parsing input with anchors and aliases

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 products

How to fix

Upgrade to a fixed version: charleskorn kaml 0.53.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-28118 or the next vulnerability affects your stack