CVE-2024-22857

Published Mar 7, 2024 CVSS 3.1 · 9.8 Critical EPSS 1.7% KEV · Not listed
Description
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Zlog Project
Zlog Project zlog
CPEs cpe:2.3:a:zlog_project:zlog:*:*:*:*:*:*:*:*
Vendors & Products Zlog Project
Zlog Project zlog
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-122
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 27, 2024, 7:45 PM
Reserved
Jan 11, 2024, 12:00 AM
Status
Deferred
Published
Mar 7, 2024, 1:15 AM
Modified
Jun 17, 2026, 7:11 AM