Skip to content
OpenAdvisories
High · 7.5 CVE-2023-28118 EUVD-2023-0975GHSA-c24f-2j3g-rg48

kaml has potential denial of service while parsing input with anchors and aliases

Published Mar 20, 2023 · Updated Feb 25, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
charleskorn kaml < 0.53.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.charleskorn.kaml:kaml < 0.53.0 0.53.0 GHSA-c24f-2j3g-rg48

Advisories 1

References