CVE-2021-45429 Memory corruption in n/a

Medium 5.5 Published Updated

A buffer overflow in the YARA library allows attackers to cause a denial of service via the yr_set_configuration function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-45429?

CVE-2021-45429 is a medium-severity memory corruption vulnerability in n/a, published on 4 Feb 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-120

Which versions are affected by CVE-2021-45429?

It affects 1 product.

Products include Virustotal Yara.

How do I fix CVE-2021-45429?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-45429 being exploited?

There is no known exploitation of CVE-2021-45429 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2021-45429, GHSA-fr63-458q-29q2, UBUNTU-CVE-2021-45429, USN-7177-1.

Is CVE-2021-45429 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free