USN-2245-1: json-c vulnerabilities

12 June 2014

json-c could be made to crash or consume CPU if it processed a specially crafted JSON document.

Releases

Packages

  • json-c - JSON manipulation library

Details

Florian Weimer discovered that json-c incorrectly handled buffer lengths.
An attacker could use this issue with a specially-crafted large JSON
document to cause json-c to crash, resulting in a denial of service.
(CVE-2013-6370)

Florian Weimer discovered that json-c incorrectly handled hash arrays. An
attacker could use this issue with a specially-crafted JSON document to
cause json-c to consume CPU resources, resulting in a denial of service.
(CVE-2013-6371)

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 14.04
Ubuntu 13.10
Ubuntu 12.04

In general, a standard system update will make all the necessary changes.