What’s Vulnerable › Vulnerabilities

CVE-2024-42361: GHSL-2023-256: HertzBeat Authenticated (guest role) SQL injection in /api/monitor/{monitorId}/metric/{metricFull}

Description

Hertzbeat is an open source, real-time monitoring system. Hertzbeat 1.6.0 and earlier declares a /api/monitor/{monitorId}/metric/{metricFull} endpoint to download job metrics. In the process, it executes a SQL query with user-controlled data, allowing for SQL injection.

Affected products

How to fix

Upgrade to a fixed version: dromara hertzbeat 1.6.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-42361 or the next vulnerability affects your stack