CVE Vulnerabilities

CVE-2018-19974

Use of Uninitialized Resource

Published: Dec 17, 2018 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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).

Weakness

The product uses or accesses a resource that has not been initialized.

Affected Software

NameVendorStart VersionEnd Version
YaraVirustotal3.8.1 (including)3.8.1 (including)
YaraUbuntubionic*
YaraUbuntucosmic*
YaraUbuntueoan*
YaraUbuntugroovy*
YaraUbuntuhirsute*
YaraUbuntuimpish*
YaraUbuntukinetic*
YaraUbuntulunar*
YaraUbuntumantic*
YaraUbuntuplucky*
YaraUbuntutrusty*
YaraUbuntuxenial*

Potential Mitigations

References