#VU38890 Out-of-bounds read in YARA


Published: 2017-06-07 | Updated: 2021-01-26

Vulnerability identifier: #VU38890

Vulnerability risk: Medium

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

CVE-ID: CVE-2017-9465

CWE-ID: CWE-125

Exploitation vector: Local

Exploit availability: No

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

Vendor: VirusTotal

Description

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

The vulnerability exists due to a boundary error in The yr_arena_write_data function in YARA 3.6.1. A remote attacker can perform a denial of service (buffer over-read and application crash) or obtain sensitive information from process memory via a crafted file that is mishandled in the yr_re_fast_exec function in libyara/re.c and the _yr_scan_match_callback function in libyara/scan.c.

Mitigation
Install update from vendor's website.

Vulnerable software versions

YARA: 3.6.1


External links
http://github.com/VirusTotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661
http://github.com/VirusTotal/yara/issues/678


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability