{"schemaVersion":3,"id":"CVE-2024-42361","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-08-20T20:56:20.155Z","modified":"2024-09-03T14:54:10.790Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0108,"percentile":0.64515,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.0108},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0108,"percentile":0.64515}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0108,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0108,"percentile":0.64515}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ADVISORIES_GHSL-2023-254_GHSL-2023-256_HERTZBEAT","name":"Ghsl 2023 254 Ghsl 2023 256 Hertzbeat","source":"github","url":"https://securitylab.github.com/advisories/GHSL-2023-254_GHSL-2023-256_HertzBeat/","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"apache","product":"hertzbeat","name":"hertzbeat","label":"hertzbeat","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.6.0","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.6.0 | < 1.6.0","eol":null,"hubHref":"/vendor/apache/hertzbeat"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-254_GHSL-2023-256_HertzBeat/","label":"securitylab.github.com/advisories/GHSL-2023-254_GHSL-2023-256_HertzBeat/","hostname":"securitylab.github.com","tags":["X Refsource CONFIRM","Exploit","Third Party Advisory"]},{"url":"https://github.com/dromara/hertzbeat/blob/1f12ac9f2a1a3d86b1d476775e14174243b250a8/manager/src/main/java/org/dromara/hertzbeat/manager/controller/MonitorsController.java#L202","label":"github.com/dromara/…","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://github.com/dromara/hertzbeat/blob/1f12ac9f2a1a3d86b1d476775e14174243b250a8/warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryTdEngineDataStorage.java#L242","label":"github.com/dromara/…","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://github.com/dromara/hertzbeat/blob/1f12ac9f2a1a3d86b1d476775e14174243b250a8/warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryTdEngineDataStorage.java#L295","label":"github.com/dromara/…","hostname":"github.com","tags":["X Refsource MISC","Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-08-20T20:56:20.155Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-03T14:54:10.790Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:18:06.702Z","stale":false,"partial":false}}