Integer Overflow or Wraparound Affecting yara package, versions <4.0.4-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-DEBIANUNSTABLE-YARA-1078130
  • 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?

Upgrade Debian:unstable yara to version 4.0.4-1 or higher.

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:unstable 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