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

High 7.5 Published Updated

Remote attackers can cause a denial of service via a crafted regular expression in the PCRE library, affecting applications using vulnerable versions.

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

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

Official description

The compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE through 8.x before revision 1680 (e.g., the PHP 7.1.1 bundled version) allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted regular expression.

Weakness: CWE-125

Which versions are affected by CVE-2017-6004?

It affects 1 product.

Products include Pcre Pcre.

How do I fix CVE-2017-6004?

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

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

Sources

Also known as DEBIAN-CVE-2017-6004, GHSA-59rh-53qm-wcv4, UBUNTU-CVE-2017-6004.

Is CVE-2017-6004 in your software?

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

Check your SBOMs for free