USN-2245-1: json-c vulnerabilities

12 June 2014

json-c vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 14.04 LTS
  • Ubuntu 13.10
  • Ubuntu 12.04 LTS

Summary

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

Software Description

  • 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 LTS
libjson0 - 0.11-3ubuntu1.2
Ubuntu 13.10
libjson0 - 0.11-2ubuntu1.2
Ubuntu 12.04 LTS
libjson0 - 0.9-1ubuntu1.1

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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

References