CVE-2017-9304 Denial of service in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service via stack consumption in YARA's regexp module by submitting a crafted rule.

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-9304?

CVE-2017-9304 is a high-severity denial of service vulnerability in n/a, published on 31 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libyara/re.c in the regexp module in YARA 3.5.0 allows remote attackers to cause a denial of service (stack consumption) via a crafted rule that is mishandled in the _yr_re_emit function.

Weakness: CWE-674

Which versions are affected by CVE-2017-9304?

It affects 1 product.

Products include Virustotal Yara.

How do I fix CVE-2017-9304?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-9304 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-9304, GHSA-cvvq-777c-65v4, UBUNTU-CVE-2017-9304.

Is CVE-2017-9304 in your software?

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

Check your SBOMs for free