CVE-2021-3402

Source
https://cve.org/CVERecord?id=CVE-2021-3402
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3402.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3402
Downstream
Published
2021-05-14T21:15:07.537Z
Modified
2026-05-28T04:07:40.862031300Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "33"
                },
                {
                    "last_affected": "34"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora",
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/virustotal/yara

Affected ranges

Type
GIT
Repo
https://github.com/virustotal/yara
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:virustotal:yara:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.0.4"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v2.*
v2.0.0
v2.1.0
v3.*
v3.0.0
v3.1.0
v3.10.0
v3.10.0-rc1
v3.11.0
v3.2.0
v3.3.0
v3.4.0
v3.6.0
v3.7.0
v3.8.0
v3.8.1
v3.9.0
v4.*
v4.0.0
v4.0.0-rc1
v4.0.0-rc2
v4.0.0-rc3
v4.0.1
v4.0.2
v4.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3402.json"