Esoteric YamlBeans XML Entity Expansion vulnerability
Date: 2023-08
Affected: maven/com.esotericsoftware.yamlbeans:yamlbeans
Attack vector: other
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2023-24620
CVE-2023-24621
CWE: CWE-400
CWE-502
CWE-611
CVSS: 5.5 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)

An issue was discovered in Esoteric YamlBeans through 1.15. A crafted YAML document is able perform am XML Entity Expansion attack against YamlBeans YamlReader. By exploiting the Anchor feature in YAML, it is possible to generate a small YAML document that, when read, is expanded to a large size, causing CPU and memory consumption, such as a Java Out-of-Memory exception.


Mitigations:

Architectural layers (MAESTRO):