Name | CVE-2021-3402 |
Description | An 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 |
Source | CVE (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 Package | Release | Version | Status |
---|
yara (PTS) | jessie | 3.1.0-2+deb8u1 | vulnerable |
| stretch | 3.5.0+dfsg-9 | vulnerable |
| buster | 3.9.0-1 | vulnerable |
| bullseye | 4.0.5-1 | fixed |
| bookworm | 4.2.3-4 | fixed |
| sid, trixie | 4.5.2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
yara | source | jessie | (unfixed) | end-of-life | | |
yara | source | (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/