CVE-2021-3402 Integer overflow in libyara
An attacker can cause denial of service or information disclosure by providing a malicious Mach-O file to the YARA library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3402?
CVE-2021-3402 is a critical vulnerability in Fedoraproject Fedora, published on 14 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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
Weakness: CWE-190
Which versions are affected by CVE-2021-3402?
It affects 2 products.
Products include Fedoraproject Fedora, Virustotal Yara.
How do I fix CVE-2021-3402?
Upgrade to a fixed version.
Is CVE-2021-3402 being exploited?
There is no known exploitation of CVE-2021-3402 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2021-3402, GHSA-2c7q-h8gj-7hgc, UBUNTU-CVE-2021-3402.