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

High 7.5 Published Updated

Remote attackers can cause a denial of service via stack consumption in YARA by submitting crafted rules with hex strings.

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

CVE-2017-9438 is a high-severity denial of service vulnerability in n/a, published on 5 Jun 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 (involving hex strings) that is mishandled in the _yr_re_emit function, a different vulnerability than CVE-2017-9304.

Weakness: CWE-674

Which versions are affected by CVE-2017-9438?

It affects 1 product.

Products include Virustotal Yara.

How do I fix CVE-2017-9438?

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-9438 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-9438, GHSA-24f8-4r56-7793, UBUNTU-CVE-2017-9438.

Is CVE-2017-9438 in your software?

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

Check your SBOMs for free