CVE-2018-19974

NameCVE-2018-19974
DescriptionIn 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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs916932

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
yara (PTS)bullseye4.0.5-1fixed
bookworm4.2.3-4fixed
trixie, sid4.5.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
yarasource(unstable)3.8.1-2916932

Notes

[stretch] - yara <no-dsa> (Minor issue)
[jessie] - yara <no-dsa> (Minor issue)
https://github.com/VirusTotal/yara/issues/999
https://bnbdr.github.io/posts/extracheese/
https://github.com/bnbdr/swisscheese/
https://github.com/VirusTotal/yara/commit/6acc08d7329413f60e0976be017e18a581450d7a
https://github.com/VirusTotal/yara/commit/d8f714891ed92da15d50b397b74d1d9431e9c54c

Search for package or bug name: Reporting problems