Out-of-bounds read in YARA - CVE-2019-19648
Published: December 9, 2019 / Updated: January 26, 2021
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary condition in the "macho_parse_file" functionality in "macho/macho.c" file when "command_size" may be inconsistent with the real size. A remote attacker can send a specially crafted MachO file, trigger out-of-bounds read error and cause a denial of service condition on the target system.
Affected software
Fedora
Ubuntu
yara (Ubuntu package)
python-yara
yara
How to mitigate CVE-2019-19648
python-yara - addressed in versions 4.1.0-1.el7, 4.1.0-1.el8, 4.1.0-1.fc33, 4.1.0-1.fc34
yara - addressed in versions 4.1.0-1.el7, 4.1.0-1.el8, 4.1.0-1.fc33, 4.1.0-1.fc34