Use-after-free in YARA - CVE-2016-10211

 

Use-after-free in YARA - CVE-2016-10211

Published: April 3, 2017 / Updated: January 26, 2021


Vulnerability identifier: #VU39300
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-10211
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error when processing a crafted rule that is mishandled in the yr_parser_lookup_loop_variable function. A remote attackers can cause a denial of service (use-after-free and application crash).

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

YARA
Fedora
Ubuntu
yara (Ubuntu package)
yara

How to mitigate CVE-2016-10211

Install update from vendor's website.

yara (Ubuntu package) - addressed in versions 3.4.0+dfsg-2ubuntu0.1~esm1, 3.7.1-1ubuntu2+esm1, 3.9.0-1ubuntu0.1~esm1
yara - addressed in versions 3.5.0-7.el7, 3.5.0-7.fc24, 3.5.0-7.fc25, 3.5.0-7.fc26, 3.6.0-1.el7, 3.6.0-1.fc24, 3.6.0-1.fc25, 3.6.0-1.fc26, 3.11.0-1.el6

External References

Related Security Bulletins