CVE-2024-42323 Apache HertzBeat: RCE by snakeYaml deser load malicious xml
Authorized attackers can achieve remote code execution in Apache HertzBeat via unsafe SnakeYAML deserialization of malicious XML.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-42323?
CVE-2024-42323 is a high-severity unsafe deserialization vulnerability in Apache HertzBeat, published on 21 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
SnakeYaml Deser Load Malicious xml rce vulnerability in Apache HertzBeat (incubating).
This vulnerability can only be exploited by authorized attackers. This issue affects Apache HertzBeat (incubating): before 1.6.0.
Users are recommended to upgrade to version 1.6.0, which fixes the issue.
Weakness: CWE-502
Which versions are affected by CVE-2024-42323?
It affects 1 product.
Products include Apache Hertzbeat.
How do I fix CVE-2024-42323?
No fix has been published for CVE-2024-42323 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-2024-42323 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42323 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Other vulnerabilities in Apache HertzBeat
- CVE-2023-51388 HertzBeat AviatorScript Inject RCE
- CVE-2023-51389 HertzBeat SnakeYAML Deser RCE
- CVE-2023-51653 Hertzbeat JMX JNDI RCE
- CVE-2026-24343 Apache HertzBeat: Uncontrolled Resource Consumption via Crafted XPath Expressions
- CVE-2025-24404 Apache HertzBeat (incubating): RCE by parse http sitemap xml response
Sources
Also known as GHSA-8qj3-h82r-hcwc.