#VU38930 Uncontrolled Recursion in YARA


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

Vulnerability identifier: #VU38930

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-9304

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 that is mishandled in the _yr_re_emit function.

Mitigation
Install update from vendor's website.

Vulnerable software versions

YARA: 3.5.0


External links
http://github.com/VirusTotal/yara/commit/925bcf3c3b0a28b5b78e25d9efda5c0bf27ae699
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