USN-4360-4

Source
https://ubuntu.com/security/notices/USN-4360-4
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4360-4.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-4360-4
Related
Published
2020-05-28T11:33:22.713208Z
Modified
2020-05-28T11:33:22.713208Z
Summary
json-c vulnerability
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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / json-c

Package

Name
json-c
Purl
pkg:deb/ubuntu/json-c?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.11-3ubuntu1.2+esm3

Affected versions

0.*

0.11-2ubuntu1
0.11-3ubuntu1
0.11-3ubuntu1.2
0.11-3ubuntu1.2+esm1
0.11-3ubuntu1.2+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.11-3ubuntu1.2+esm3",
            "binary_name": "libjson-c-dev"
        },
        {
            "binary_version": "0.11-3ubuntu1.2+esm3",
            "binary_name": "libjson-c-doc"
        },
        {
            "binary_version": "0.11-3ubuntu1.2+esm3",
            "binary_name": "libjson-c2"
        },
        {
            "binary_version": "0.11-3ubuntu1.2+esm3",
            "binary_name": "libjson-c2-dbg"
        },
        {
            "binary_version": "0.11-3ubuntu1.2+esm3",
            "binary_name": "libjson-c2-dbgsym"
        },
        {
            "binary_version": "0.11-3ubuntu1.2+esm3",
            "binary_name": "libjson0"
        },
        {
            "binary_version": "0.11-3ubuntu1.2+esm3",
            "binary_name": "libjson0-dev"
        }
    ]
}

Ubuntu:16.04:LTS / json-c

Package

Name
json-c
Purl
pkg:deb/ubuntu/json-c?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.11-4ubuntu2.6

Affected versions

0.*

0.11-4ubuntu2
0.11-4ubuntu2.1
0.11-4ubuntu2.2
0.11-4ubuntu2.5

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.11-4ubuntu2.6",
            "binary_name": "libjson-c-dev"
        },
        {
            "binary_version": "0.11-4ubuntu2.6",
            "binary_name": "libjson-c-doc"
        },
        {
            "binary_version": "0.11-4ubuntu2.6",
            "binary_name": "libjson-c2"
        },
        {
            "binary_version": "0.11-4ubuntu2.6",
            "binary_name": "libjson-c2-dbg"
        },
        {
            "binary_version": "0.11-4ubuntu2.6",
            "binary_name": "libjson-c2-dbgsym"
        },
        {
            "binary_version": "0.11-4ubuntu2.6",
            "binary_name": "libjson0"
        },
        {
            "binary_version": "0.11-4ubuntu2.6",
            "binary_name": "libjson0-dev"
        }
    ]
}

Ubuntu:18.04:LTS / json-c

Package

Name
json-c
Purl
pkg:deb/ubuntu/json-c?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.1-1.3ubuntu0.3

Affected versions

0.*

0.12.1-1.2
0.12.1-1.3
0.12.1-1.3ubuntu0.1
0.12.1-1.3ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.12.1-1.3ubuntu0.3",
            "binary_name": "libjson-c-dev"
        },
        {
            "binary_version": "0.12.1-1.3ubuntu0.3",
            "binary_name": "libjson-c-doc"
        },
        {
            "binary_version": "0.12.1-1.3ubuntu0.3",
            "binary_name": "libjson-c3"
        },
        {
            "binary_version": "0.12.1-1.3ubuntu0.3",
            "binary_name": "libjson-c3-dbgsym"
        },
        {
            "binary_version": "0.12.1-1.3ubuntu0.3",
            "binary_name": "libjson-c3-udeb"
        }
    ]
}

Ubuntu:20.04:LTS / json-c

Package

Name
json-c
Purl
pkg:deb/ubuntu/json-c?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.13.1+dfsg-7ubuntu0.3

Affected versions

0.*

0.13.1+dfsg-4
0.13.1+dfsg-6
0.13.1+dfsg-7
0.13.1+dfsg-7ubuntu0.1
0.13.1+dfsg-7ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.13.1+dfsg-7ubuntu0.3",
            "binary_name": "libjson-c-dev"
        },
        {
            "binary_version": "0.13.1+dfsg-7ubuntu0.3",
            "binary_name": "libjson-c-doc"
        },
        {
            "binary_version": "0.13.1+dfsg-7ubuntu0.3",
            "binary_name": "libjson-c4"
        },
        {
            "binary_version": "0.13.1+dfsg-7ubuntu0.3",
            "binary_name": "libjson-c4-dbgsym"
        },
        {
            "binary_version": "0.13.1+dfsg-7ubuntu0.3",
            "binary_name": "libjson-c4-udeb"
        }
    ]
}