Out-of-bounds read in YARA - CVE-2017-9465
Published: June 7, 2017 / 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 error in The yr_arena_write_data function in YARA 3.6.1. A remote attacker can perform a denial of service (buffer over-read and application crash) or obtain sensitive information from process memory via a crafted file that is mishandled in the yr_re_fast_exec function in libyara/re.c and the _yr_scan_match_callback function in libyara/scan.c.
Affected software
Fedora
Ubuntu
yara (Ubuntu package)
yara
How to mitigate CVE-2017-9465
yara - addressed in versions 3.6.2-1.el6, 3.6.2-1.el7, 3.6.2-1.fc24, 3.6.2-1.fc25, 3.6.2-1.fc26, 3.6.3-1.el6, 3.6.3-1.el7