CVE-2023-24620
JSON

5.5medium

Esoteric YamlBeans XML Entity Expansion vulnerability

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.36% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-vj49-j7rc-h54f

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
com.esotericsoftware.yamlbeans:yamlbeans (Maven)up to 1.15GitHub Advisory Database
esotericsoftware yamlbeansup to 1.15NVD

All scores

GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-400CWE-611

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Un problema fue descubierto en Esoteric YamlBeans a través de 1.15. Un documento YAML manipulado es capaz de realizar un ataque de Expansión de Entidad XML contra YamlReader YamlBeans. Mediante la explotación de la función de anclaje en YAML, es posible generar un pequeño documento YAML que, cuando se lee, se expande a un gran tamaño, causando el consumo de CPU y memoria, como una excepción Java Out-of-Memory.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-24620 changed 2024-10-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-vj49-j7rc-h54f changed 2024-02-16CC-BY-4.0
NVDCVE-2023-24620 changed 2026-06-17Public domain