CVE-2021-3402

NameCVE-2021-3402
DescriptionAn integer overflow and several buffer overflow reads in libyara/modules/macho/macho.c in YARA v4.0.3 and earlier could allow an attacker to either cause denial of service or information disclosure via a malicious Mach-O file. Affects all versions before libyara 4.0.4
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

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-1vulnerable
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
yarasourcejessie(unfixed)end-of-life
yarasource(unstable)4.0.4-1

Notes

[buster] - yara <no-dsa> (Minor issue)
[stretch] - yara <postponed> (Minor issue; can be fixed with next DLA)
https://www.openwall.com/lists/oss-security/2021/01/29/2
https://www.x41-dsec.de/lab/advisories/x41-2021-001-yara/

Search for package or bug name: Reporting problems