CVE-2016-4074 Denial of service in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service via stack consumption and application crash by providing a crafted JSON file to jq.

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

What is CVE-2016-4074?

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

Official description

The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.

Weakness: CWE-770

Which versions are affected by CVE-2016-4074?

It affects 1 product.

Linux distribution packages (4)
jq SUSE:Enterprise Storage 4All versions1.5-3.5.7
jq SUSE:Package Hub 12 SP1All versions1.5-5.1
jq SUSE:Package Hub 12 SP1All versions1.5-5.1
jq openSUSE:TumbleweedAll versions1.6-2.9

Products include Jq Project Jq.

How do I fix CVE-2016-4074?

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-2016-4074 being exploited?

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

Sources

Also known as ALPINE-CVE-2016-4074, AZL-6505, DEBIAN-CVE-2016-4074, GHSA-63w9-2p7c-mwwp, SUSE-SU-2017:2950-1, UBUNTU-CVE-2016-4074 and 4 more.

Is CVE-2016-4074 in your software?

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

Check your SBOMs for free