Description
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).
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).
| Vendor | Product | Version | Platform |
|---|---|---|---|
| virustotal | yara | 3.8.1 | – |
CWE-908 Use of Uninitialized Resource
The product uses or accesses a resource that has not been initialized.
| Scope | Impact |
|---|---|
| Confidentiality | Read Memory, Read Application Data When reusing a resource such as memory or a program variable, the original contents may not have been cleared before it is sent to an untrusted party. |
| Availability | DoS: Crash, Exit, or Restart, DoS: Instability The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend, possibly leading to a crash. |
| Other | Unexpected State, Varies by Context The consequences vary depending on the type of resource and how it is used within the product. |
All 1,027 CWE-908 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org