CVE-2024-42361

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42361
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42361.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42361
Published
2024-08-20T20:56:20Z
Modified
2025-11-03T10:21:32.101Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
GHSL-2023-256: HertzBeat Authenticated (guest role) SQL injection in /api/monitor/{monitorId}/metric/{metricFull}
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-89"
    ]
}
References

Affected packages

Git / github.com/dromara/hertzbeat

Affected ranges

Type
GIT
Repo
https://github.com/dromara/hertzbeat
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.6.0"
        }
    ]
}

Affected versions

v1.*

v1.6.0

Git / github.com/apache/hertzbeat

Affected ranges

Type
GIT
Repo
https://github.com/apache/hertzbeat
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed