2024-12-08 03:06:42 +00:00

96 lines
3.3 KiB
JSON

{
"id": "CVE-2024-22857",
"sourceIdentifier": "cve@mitre.org",
"published": "2024-03-07T01:15:52.640",
"lastModified": "2024-11-21T08:56:42.987",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Heap based buffer flow in zlog v1.1.0 to v1.2.17 in zlog_rule_new().The size of record_name is MAXLEN_PATH(1024) + 1 but file_path may have data upto MAXLEN_CFG_LINE(MAXLEN_PATH*4) + 1. So a check was missing in zlog_rule_new() while copying the record_name from file_path + 1 which caused the buffer overflow. An attacker can exploit this vulnerability to overwrite the zlog_record_fn record_func function pointer to get arbitrary code execution or potentially cause remote code execution (RCE)."
},
{
"lang": "es",
"value": "zlog 1.2.16 tiene un desbordamiento de b\u00fafer de almacenamiento din\u00e1mico en la estructura zlog_rule_s mientras crea una nueva regla que ya est\u00e1 definida en el archivo de configuraci\u00f3n proporcionado. Un usuario normal puede lograr la ejecuci\u00f3n de c\u00f3digo arbitrario."
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
]
},
"weaknesses": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-122"
}
]
}
],
"references": [
{
"url": "https://github.com/HardySimpson/zlog/",
"source": "cve@mitre.org"
},
{
"url": "https://github.com/HardySimpson/zlog/blob/1a7b1a6fb956b92a4079ccc91f30da21f34ca063/src/rule.h#L30",
"source": "cve@mitre.org"
},
{
"url": "https://github.com/HardySimpson/zlog/pull/251",
"source": "cve@mitre.org"
},
{
"url": "https://www.cybersecurity-help.cz/vdb/SB2024022842",
"source": "cve@mitre.org"
},
{
"url": "https://www.ebryx.com/blogs/arbitrary-code-execution-in-zlog-cve-2024-22857",
"source": "cve@mitre.org"
},
{
"url": "https://github.com/HardySimpson/zlog/",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/HardySimpson/zlog/blob/1a7b1a6fb956b92a4079ccc91f30da21f34ca063/src/rule.h#L30",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/HardySimpson/zlog/pull/251",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://www.cybersecurity-help.cz/vdb/SB2024022842",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://www.ebryx.com/blogs/arbitrary-code-execution-in-zlog-cve-2024-22857",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}