CVE-2021-3402

Source
https://cve.org/CVERecord?id=CVE-2021-3402
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3402.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3402
Downstream
Published
2021-05-14T21:15:07.537Z
Modified
2026-04-10T04:34:21.712581Z
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

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
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.0.4"
        }
    ]
}

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

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "33"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "34"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3402.json"