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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-502"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/51xxx/CVE-2023-51389.json"
}[
{
"target": {
"file": "manager/src/main/java/org/dromara/hertzbeat/manager/controller/AppController.java",
"function": "newAppDefineYml"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2023-51389-1dab890b",
"digest": {
"function_hash": "60880393756831926403336707689209356780",
"length": 300.0
},
"source": "https://github.com/apache/hertzbeat/commit/97c3f14446d1c96d1fc993df111684926b6cce17"
},
{
"target": {
"file": "manager/src/main/java/org/dromara/hertzbeat/manager/controller/AppController.java"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2023-51389-7d13e681",
"digest": {
"line_hashes": [
"52570303794679753412583292302318335895",
"191557137803662959462240526233604605513",
"146040424202470765220216409595569237563",
"69302556828958808487577480082681499698",
"171136214917092730649836567242026531615",
"114405915451127368432363386428116200297",
"163693886593850766923608090039073144037",
"93928055722754203425517400254607393444",
"139571565452669111103499365483050086838",
"153063976820333044408821742602287364662",
"227268253392932013446537472675129651163"
],
"threshold": 0.9
},
"source": "https://github.com/apache/hertzbeat/commit/97c3f14446d1c96d1fc993df111684926b6cce17"
},
{
"target": {
"file": "manager/src/main/java/org/dromara/hertzbeat/manager/controller/AppController.java",
"function": "updateAppDefineYml"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2023-51389-f86aafdf",
"digest": {
"function_hash": "71603379668867079006296559385608423201",
"length": 299.0
},
"source": "https://github.com/apache/hertzbeat/commit/97c3f14446d1c96d1fc993df111684926b6cce17"
}
]