#VU39292 Out-of-bounds read in YARA


Published: 2017-04-03 | Updated: 2020-08-08

Vulnerability identifier: #VU39292

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

CWE-ID: CWE-125

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/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (heap-based out-of-bounds read and application crash) via a crafted rule that is mishandled in the yara_yyparse function.

Mitigation
Install update from vendor's website.

Vulnerable software versions

YARA: 3.5.0


External links
http://www.securityfocus.com/bid/98080
http://github.com/VirusTotal/yara/commit/ab906da53ff2a68c6fd6d1fa73f2b7c7bf0bc636
http://github.com/VirusTotal/yara/issues/597


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