medium5.5
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.
Impact
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).
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Virustotal | Yara | Version 3.8.1 |
Weakness classification
References
- NVD record
- CVE.org record
- https://bnbdr.github.io/posts/extracheese/
- https://github.com/VirusTotal/yara/issues/999
- https://github.com/bnbdr/swisscheese/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DFFXDAMP6GJ337LIOTVF5I4T6QGMN3ZR/
- https://bnbdr.github.io/posts/extracheese/
- https://github.com/VirusTotal/yara/issues/999
- https://github.com/bnbdr/swisscheese/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DFFXDAMP6GJ337LIOTVF5I4T6QGMN3ZR/