Buffer Overflow Affecting yara package, versions <4.2.0-r0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (22nd 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-ALPINE321-YARA-8490261
  • published6 Dec 2024
  • disclosed4 Feb 2022

Introduced: 4 Feb 2022

CVE-2021-45429  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 yara to version 4.2.0-r0 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 Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

A Buffer Overflow vulnerablity exists in VirusTotal YARA git commit: 605b2edf07ed8eb9a2c61ba22eb2e7c362f47ba7 via yr_set_configuration in yara/libyara/libyara.c, which could cause a Denial of Service.

CVSS Scores

version 3.1