Bug 1032311 (CVE-2013-6371)

Summary: CVE-2013-6371 json-c: hash collision DoS
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agk, ccoleman, dmcphers, fweimer, jialiu, lmeyer, omarandemad, pfrields, rcollet, security-response-team, tkramer
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-11 05:47:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1085676, 1085677, 1085678, 1086209, 1097036, 1097037    
Bug Blocks: 770929, 1028485, 1032325    

Description Vincent Danen 2013-11-20 00:20:43 UTC
Florian Weimer reported that the hash function in the json-c library was weak, and that parsing smallish JSON strings showed quadratic timing behaviour.  This could cause an application linked to the json-c library, and that processes some specially-crafted JSON data, to use excessive amounts of CPU.


Acknowledgements:

This issue was discovered by Florian Weimer of the Red Hat Product Security Team.

Comment 2 Huzaifa S. Sidhpurwala 2014-04-09 06:18:32 UTC
Public via:

https://github.com/json-c/json-c/commit/64e36901a0614bf64a19bc3396469c66dcd0b015

Comment 4 Huzaifa S. Sidhpurwala 2014-04-09 06:21:48 UTC
Created json-c tracking bugs for this issue:

Affects: fedora-all [bug 1085676]
Affects: epel-all [bug 1085677]

Comment 6 Fedora Update System 2014-04-17 06:04:02 UTC
json-c-0.11-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-04-30 04:07:23 UTC
json-c-0.11-6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 errata-xmlrpc 2014-06-10 12:35:23 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:0703 https://rhn.redhat.com/errata/RHSA-2014-0703.html