Integer Overflow or Wraparound Affecting yara package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.19% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN9-YARA-1078131
  • published20 Feb 2021
  • disclosed14 May 2021

Introduced: 20 Feb 2021

CVE-2021-3402  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for Debian:9 yara.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yara package and not the yara package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

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

CVSS Scores

version 3.1