UBUNTU-CVE-2021-3402

Source
https://ubuntu.com/security/CVE-2021-3402
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3402.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3402
Upstream
Downstream
Related
Published
2021-05-14T21:15:00Z
Modified
2026-03-10T05:50:04.051755Z
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
  • Ubuntu - medium
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

Ubuntu:Pro:20.04:LTS / yara

Package

Name
yara
Purl
pkg:deb/ubuntu/yara@3.9.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.0-1ubuntu0.1~esm1

Affected versions

3.*
3.9.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.9.0-1ubuntu0.1~esm1",
            "binary_name": "libyara-dev"
        },
        {
            "binary_version": "3.9.0-1ubuntu0.1~esm1",
            "binary_name": "libyara3"
        },
        {
            "binary_version": "3.9.0-1ubuntu0.1~esm1",
            "binary_name": "yara"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3402.json"