Your submission was sent successfully! Close

USN-4360-4: json-c vulnerability

28 May 2020

json-c could be made to execute arbitrary code if it received a specially crafted JSON file.



  • json-c - JSON manipulation library


USN-4360-1 fixed a vulnerability in json-c. The security fix introduced a
memory leak that was reverted in USN-4360-2 and USN-4360-3. This update provides
the correct fix update for CVE-2020-12762.

Original advisory details:

It was discovered that json-c incorrectly handled certain JSON files.
An attacker could possibly use this issue to execute arbitrary code.

Update instructions

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

Ubuntu 20.04
Ubuntu 19.10
Ubuntu 18.04
Ubuntu 16.04
Ubuntu 14.04
Ubuntu 12.04

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


Related notices

  • USN-4360-1: libjson-c3-udeb, libjson-c4, libjson-c-doc, libjson0, libjson-c-dev, json-c, libjson-c3, libjson-c4-udeb, libjson0-dev, libjson-c2