UBUNTU-CVE-2020-12762

Source
https://ubuntu.com/security/CVE-2020-12762
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12762.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-12762
Related
Published
2020-05-09T18:15:00Z
Modified
2020-05-09T18:15:00Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.

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",
    "ubuntu_priority": "medium",
    "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",
    "ubuntu_priority": "medium",
    "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",
    "ubuntu_priority": "medium",
    "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",
    "ubuntu_priority": "medium",
    "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"
        }
    ]
}