Vulnerability Details : CVE-2018-12035
In YARA 3.7.1 and prior, parsing a specially crafted compiled rule file can cause an out of bounds write vulnerability in yr_execute_code in libyara/exec.c.
Vulnerability category: Memory Corruption
Products affected by CVE-2018-12035
- cpe:2.3:a:virustotal:yara:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-12035
0.23%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 60 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-12035
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2018-12035
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-12035
-
https://github.com/VirusTotal/yara/issues/891
Out-of-bounds read, write in yr_execute_code · Issue #891 · VirusTotal/yara · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/bnbdr/swisscheese
GitHub - bnbdr/swisscheese: Exploits for YARA 3.7.1 & 3.8.1Exploit;Third Party Advisory
-
https://bnbdr.github.io/posts/swisscheese/
YARA Internals: Compiled Rule FormatExploit;Third Party Advisory
Jump to