Uncontrolled Recursion in YARA - CVE-2017-9438

 

Uncontrolled Recursion in YARA - CVE-2017-9438

Published: June 5, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU38920
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2017-9438
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: VirusTotal
Affected software:
YARA

Detailed vulnerability description

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

libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause a denial of service (stack consumption) via a crafted rule (involving hex strings) that is mishandled in the _yr_re_emit function, a different vulnerability than CVE-2017-9304.


How to mitigate CVE-2017-9438

Install update from vendor's website.

Sources