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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
yara (PTS)stretch3.5.0+dfsg-9vulnerable
buster3.9.0-1vulnerable
bullseye4.0.5-1fixed
sid4.1.0~rc2-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
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