What’s Vulnerable › Vulnerabilities
CVE-2023-51653: Hertzbeat JMX JNDI RCE
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-02-22 · updated 2026-06-17
- Weakness: CWE-74
Description
Hertzbeat is a real-time monitoring system. In the implementation of `JmxCollectImpl.java`, `JMXConnectorFactory.connect` is vulnerable to JNDI injection. The corresponding interface is `/api/monitor/detect`. If there is a URL field, the address will be used by default. When the URL is `service:jmx:rmi:///jndi/rmi://xxxxxxx:1099/localHikari`, it can be exploited to cause remote code execution. Version 1.4.1 contains a fix for this issue.
Affected products
- dromara hertzbeat: before 1.4.1 — fixed in 1.4.1
How to fix
Upgrade to a fixed version: dromara hertzbeat 1.4.1. Check the vendor advisory for mitigations.
References
- https://github.com/dromara/hertzbeat/commit/f794b0d82be49c596c04a042976446559eb315ef
- https://github.com/dromara/hertzbeat/security/advisories/GHSA-gcmp-vf6v-59gg
- https://github.com/dromara/hertzbeat/commit/f794b0d82be49c596c04a042976446559eb315ef
- https://github.com/dromara/hertzbeat/security/advisories/GHSA-gcmp-vf6v-59gg
Get alerted when CVE-2023-51653 or the next vulnerability affects your stack