Vulnerability Details : CVE-2018-19974
In YARA 3.8.1, bytecode in a specially crafted compiled rule can read uninitialized data from VM scratch memory in libyara/exec.c. This can allow attackers to discover addresses in the real stack (not the YARA virtual stack).
Products affected by CVE-2018-19974
- cpe:2.3:a:virustotal:yara:3.8.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-19974
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-19974
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:N/A:N |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2018-19974
-
The product uses or accesses a resource that has not been initialized.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-19974
-
https://github.com/VirusTotal/yara/issues/999
Compiled rules can execute malicious code regardless of PARANOID_EXEC · Issue #999 · VirusTotal/yara · GitHubIssue Tracking;Exploit;Third Party Advisory
-
https://bnbdr.github.io/posts/extracheese/
YARA Internals II: BytecodeExploit;Third Party Advisory
-
https://github.com/bnbdr/swisscheese/
GitHub - bnbdr/swisscheese: Exploits for YARA 3.7.1 & 3.8.1Exploit;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DFFXDAMP6GJ337LIOTVF5I4T6QGMN3ZR/
Jump to