WaratekVRT Sign in

CVE-2023-24620 YamlBeans

Affected softwareYamlBeans
Severity5.5 Medium CVSS 3.1
WeaknessXML external entity (XXE) (CWE-611)
Published25 Aug 2023
Updated17 Jun 2026

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.

CWE-400 · Uncontrolled resource consumption

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
  • Indexed PoC none indexed
  • EPSS 0.36% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.

How to mitigate CVE-2023-24620

Apply the vendor's fix for YamlBeans. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.esotericsoftware.yamlbeans:yamlbeans 0 none 1.15

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.esotericsoftware.yamlbeans yamlbeans generic ≤ 1.15
nvd esotericsoftware yamlbeans generic ≤ 1.15

References

URLTags
https://contrastsecurity.com WEB
https://github.com/Contrast-Security-OSS/yamlbeans/blob/main/SECURITY.md WEB
https://github.com/EsotericSoftware WEB
https://github.com/EsotericSoftware/yamlbeans PACKAGE

Timeline

Published2023-08-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.