USN-4360-4: json-c vulnerability

Publication date

28 May 2020

Overview

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


Packages

  • json-c - JSON manipulation library

Details

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.

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

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
20.04 focal libjson-c4 –  0.13.1+dfsg-7ubuntu0.3
19.10 eoan libjson-c4 –  0.13.1+dfsg-4ubuntu0.3
18.04 bionic libjson-c3 –  0.12.1-1.3ubuntu0.3
16.04 xenial libjson-c2 –  0.11-4ubuntu2.6
libjson0 –  0.11-4ubuntu2.6
14.04 trusty libjson-c2 –  0.11-3ubuntu1.2+esm3  
libjson0 –  0.11-3ubuntu1.2+esm3  
12.04 precise libjson0 –  0.9-1ubuntu1.4

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›