Buffer overflow in YARA - CVE-2021-45429

 

Buffer overflow in YARA - CVE-2021-45429

Published: October 18, 2024


Vulnerability identifier: #VU98812
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-45429
CWE-ID: CWE-120
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: VirusTotal
Affected software:
YARA

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the yr_set_configuration() function in yara/libyara/libyara.c. A remote attacker can trick the victim into loading a specially crafted file and crash the application.


How to mitigate CVE-2021-45429

Install updates from vendor's website.

Sources