Bug 1329982 (CVE-2016-4074)

Summary: CVE-2016-4074 jq: stack exhaustion via jv_dump_term() function
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abaron, aortega, apevec, ayoung, chrisw, dallan, eglynn, fpercoco, gkotton, jhrozek, jjoyce, jschluet, lhh, lpeer, lsvaty, markmc, mburns, mgarciac, pgrist, rbryant, rhos-maint, rhos-maint, sardella, sclewis, slong, spoore, tdecacqu
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jq 1.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-06 02:43:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1416711, 1329986, 1329987, 1329988, 1331210, 1331211, 1331212, 1331213    
Bug Blocks: 1328751    

Description Martin Prpič 2016-04-25 08:41:38 UTC
The following flaw was reported in jq:

A crash caused by stack exhaustion parsing a JSON was found. It affects, at least version 1.5 as well as the last git revision. Technical details and a reproducer are available here:

https://github.com/stedolan/jq/issues/1136

Note that this flaw can only be exloited in a service that accepts untrusted JSON files, as explained by MITRE:

http://seclists.org/oss-sec/2016/q2/141

Comment 1 Martin Prpič 2016-04-25 08:42:24 UTC
Created jq tracking bugs for this issue:

Affects: fedora-all [bug 1329986]
Affects: epel-6 [bug 1329987]
Affects: epel-7 [bug 1329988]