CVE-2017-9438

NameCVE-2017-9438
Descriptionlibyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause a denial of service (stack consumption) via a crafted rule (involving hex strings) that is mishandled in the _yr_re_emit function, a different vulnerability than CVE-2017-9304.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs864518

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
yara (PTS)jessie3.1.0-2+deb8u1vulnerable
stretch3.5.0+dfsg-9vulnerable
buster3.9.0-1fixed
bullseye4.0.5-1fixed
bookworm4.2.3-4fixed
sid, trixie4.5.2-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
yarasource(unstable)3.6.1+dfsg-1low864518

Notes

[stretch] - yara <ignored> (Minor issue, too intrusive to backport)
[jessie] - yara <ignored> (Minor issue, too intrusive to backport)
https://github.com/VirusTotal/yara/issues/674
Fixed by: https://github.com/VirusTotal/yara/commit/10e8bd3071677dd1fa76beeef4bc2fc427cea5e7

Search for package or bug name: Reporting problems