CVE-2023-24620 Esoteric YamlBeans XML Entity Expansion vulnerability
Attackers can cause denial of service via resource exhaustion in YamlBeans by crafting malicious YAML documents that trigger excessive expansion.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-24620?
CVE-2023-24620 is a medium-severity denial of service vulnerability in n/a, published on 25 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-611
Which versions are affected by CVE-2023-24620?
2 open source packages ship an affected version, including com.esotericsoftware.yamlbeans:yamlbeans. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.esotericsoftware.yamlbeans:yamlbeans Maven | All versions to 1.15 | None |
com.esotericsoftware.yamlbeans:yamlbeans Maven | All versions to 1.15 | None |
Products include Esotericsoftware Yamlbeans.
How do I fix CVE-2023-24620?
No fix has been published for CVE-2023-24620 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-24620 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-24620 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-vj49-j7rc-h54f.