Off-by-one in OSSEC - CVE-2020-8443

 

Off-by-one in OSSEC - CVE-2020-8443

Published: January 30, 2020 / Updated: January 6, 2025


Vulnerability identifier: #VU24779
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-8443
CWE-ID: CWE-193
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OSSEC Project
Affected software:
OSSEC

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to an off-by-one error in the server component responsible for log analysis during the cleaning of crafted "syslog" messages. A remote authenticated attacker can send a specially crafted message, trigger an off-by-one heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2020-8443

Install update from vendor's website.

Sources