CVE-2023-24621 Esoteric YamlBeans Unsafe Deserialization vulnerability

High 7.8 Published Updated

Attackers can execute arbitrary code by supplying malicious YAML documents to applications using the YamlBeans library.

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-24621?

CVE-2023-24621 is a high-severity unsafe deserialization 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. It allows untrusted deserialisation to Java classes by default, where the data and class are controlled by the author of the YAML document being processed.

Weakness: CWE-502

Which versions are affected by CVE-2023-24621?

2 open source packages ship an affected version, including com.esotericsoftware.yamlbeans:yamlbeans. It affects 1 product.

PackageAffectedFixed in
com.esotericsoftware.yamlbeans:yamlbeans MavenAll versions to 1.15None
com.esotericsoftware.yamlbeans:yamlbeans MavenAll versions to 1.15None

Products include Esotericsoftware Yamlbeans.

How do I fix CVE-2023-24621?

No fix has been published for CVE-2023-24621 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2023-24621 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-24621 exists.

Sources

Also known as GHSA-jm7r-4pg6-gf26.

Is CVE-2023-24621 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free