CVE-2021-3402CWE-190

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…

published May 14, 2021

CVSS
—
EPSS
2%
Percentile
82.4
In the wild
Unconfirmed
What it is

⚠️ An integer overflow in YARA might let a malicious Mach-O file wreak havoc! 🚨 Think of YARA as a safety inspector at a factory. If an integer overflow slips through, it's like the inspector miscalculating the weight limit of a conveyor belt, leading to a potential crash or spilling materials everywhere! This vulnerability could lead to denial of service or exposure of sensitive information, allowing an attacker to knock your services offline or peek into your data. It's not a worst-case scenario yet, but it's one to keep an eye on!

Put simply

Think of YARA as a safety inspector at a factory. If an integer overflow slips through, it's like the inspector miscalculating the weight limit of a conveyor belt, leading to a potential crash or spilling materials everywhere! The issue lies in how libyara handles Mach-O files, where an integer overflow and buffer overflow reads can be exploited to disrupt services or disclose data.

What to do

This vulnerability could lead to denial of service or exposure of sensitive information, allowing an attacker to knock your services offline or peek into your data. It's not a worst-case scenario yet, but it's one to keep an eye on! To safeguard your systems, update to libyara version 4.0.4 or later. If you're using an earlier version, consider patching immediately to avoid potential disruptions and data leaks. You've got this! With a quick update, you can keep your systems safe and secure! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02201 · 82.4th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2021-05-14T20:05Z
EPSS history
Timeline
  • 14 MAY 20:05Z
    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…
    cvelistv5