CVE-2023-28118

Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') in maven/com.charleskorn.kaml/kaml

Identifiers

CVE-2023-28118, GHSA-c24f-2j3g-rg48

Package Slug

maven/com.charleskorn.kaml/kaml

Vulnerability

Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

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 Versions

All versions before 0.53.0

Solution

Upgrade to version 0.53.0 or above.

Last Modified

2023-03-22

source