Integer Overflow or Wraparound Affecting virustotal/yara package, versions [,4.0.4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. 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-UNMANAGED-VIRUSTOTALYARA-2319384
  • published14 Dec 2021
  • disclosed14 May 2021
  • creditUnknown

Introduced: 14 May 2021

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

How to fix?

Upgrade virustotal/yara to version 4.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. 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