CVE-2023-51389 HertzBeat SnakeYAML Deser RCE

Critical 9.8 Published Updated

Attackers can execute arbitrary code via unsafe YAML deserialization in the HertzBeat monitoring system's /define/yml interface.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-51389?

CVE-2023-51389 is a critical unsafe deserialization vulnerability in dromara hertzbeat, published on 22 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Hertzbeat is a real-time monitoring system. At the interface of `/define/yml`, SnakeYAML is used as a parser to parse yml content, but no security configuration is used, resulting in a YAML deserialization vulnerability. Version 1.4.1 fixes this vulnerability.

Weakness: CWE-502

Which versions are affected by CVE-2023-51389?

It affects 1 product.

Products include Apache Hertzbeat.

How do I fix CVE-2023-51389?

No fix has been published for CVE-2023-51389 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-51389 being exploited?

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

Sources

Also known as GHSA-rmvr-9p5x-mm96.

Is CVE-2023-51389 in your software?

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

Check your SBOMs for free