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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.esotericsoftware.yamlbeans:yamlbeans (Maven) | up to 1.15 | GitHub Advisory Database |
| esotericsoftware yamlbeans | up to 1.15 | NVD |
All scores
| GitHub | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
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
| https://github.com/EsotericSoftware | third-party-advisory, web | |
| https://contrastsecurity.com | third-party-advisory, web | |
| https://github.com/Contrast-Security-OSS/yamlbeans/blob/main/SECURITY.md | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-24620 | advisory | |
| https://github.com/EsotericSoftware/yamlbeans | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-24620 changed 2024-10-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vj49-j7rc-h54f changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2023-24620 changed 2026-06-17 | Public domain |