CVE-2017-5924 Use after free in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service via a crafted rule triggering a use-after-free in the YARA library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5924?

CVE-2017-5924 is a high-severity use after free vulnerability in n/a, published on 3 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted rule that is mishandled in the yr_compiler_destroy function.

Weakness: CWE-416

Which versions are affected by CVE-2017-5924?

It affects 1 product.

Products include Virustotal Yara.

How do I fix CVE-2017-5924?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-5924 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-5924, GHSA-33qw-wpjx-355w, UBUNTU-CVE-2017-5924.

Is CVE-2017-5924 in your software?

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

Check your SBOMs for free