esotericsoftware/yamlbeans · Security
Esoteric YamlBeans XML Entity Expansion vulnerability
- GHSA ID
- GHSA-vj49-j7rc-h54f
- CVE ID
- CVE-2023-24620
- Severity
- medium
- Published
- Updated
- CVSS
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS v3
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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.
CWEs
- CWE-400 · Uncontrolled Resource Consumption
- CWE-611 · Improper Restriction of XML External Entity Reference