#VU38920 Uncontrolled Recursion in YARA


Published: 2017-06-05 | Updated: 2020-08-08

Vulnerability identifier: #VU38920

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-9438

CWE-ID: CWE-674

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
YARA
Server applications / Server solutions for antivurus protection

Vendor: VirusTotal

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

YARA: 3.5.0


External links
http://github.com/VirusTotal/yara/commit/10e8bd3071677dd1fa76beeef4bc2fc427cea5e7
http://github.com/VirusTotal/yara/issues/674


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability