UBUNTU-CVE-2018-20330

Source
https://ubuntu.com/security/CVE-2018-20330
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20330.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-20330
Related
Published
2018-12-21T09:29:00Z
Modified
2018-12-21T09:29:00Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The tjLoadImage function in libjpeg-turbo 2.0.1 has an integer overflow with a resultant heap-based buffer overflow via a BMP image because multiplication of pitch and height is mishandled, as demonstrated by tjbench.

References

Affected packages

Ubuntu:14.04:LTS / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:deb/ubuntu/libjpeg-turbo?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.0-0ubuntu2.1

Affected versions

1.*

1.3.0-0ubuntu1
1.3.0-0ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libjpeg-turbo-progs"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libjpeg-turbo-progs-dbgsym"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libjpeg-turbo-test"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libjpeg-turbo-test-dbgsym"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libjpeg-turbo8"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libjpeg-turbo8-dbg"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libjpeg-turbo8-dbgsym"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libjpeg-turbo8-dev"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libjpeg-turbo8-dev-dbgsym"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libturbojpeg"
        },
        {
            "binary_version": "1.3.0-0ubuntu2.1",
            "binary_name": "libturbojpeg-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:deb/ubuntu/libjpeg-turbo?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.2-0ubuntu3.1

Affected versions

1.*

1.3.0-0ubuntu2
1.4.2-0ubuntu1
1.4.2-0ubuntu2
1.4.2-0ubuntu3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libjpeg-turbo-progs"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libjpeg-turbo-progs-dbgsym"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libjpeg-turbo-test"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libjpeg-turbo-test-dbgsym"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libjpeg-turbo8"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libjpeg-turbo8-dbg"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libjpeg-turbo8-dbgsym"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libjpeg-turbo8-dev"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libjpeg-turbo8-dev-dbgsym"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libturbojpeg"
        },
        {
            "binary_version": "1.4.2-0ubuntu3.1",
            "binary_name": "libturbojpeg-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / libjpeg-turbo

Package

Name
libjpeg-turbo
Purl
pkg:deb/ubuntu/libjpeg-turbo?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.2-0ubuntu5.18.04.1

Affected versions

1.*

1.5.2-0ubuntu5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libjpeg-turbo-progs"
        },
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libjpeg-turbo-progs-dbgsym"
        },
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libjpeg-turbo-test"
        },
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libjpeg-turbo-test-dbgsym"
        },
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libjpeg-turbo8"
        },
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libjpeg-turbo8-dbg"
        },
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libjpeg-turbo8-dev"
        },
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libturbojpeg"
        },
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libturbojpeg-dbgsym"
        },
        {
            "binary_version": "1.5.2-0ubuntu5.18.04.1",
            "binary_name": "libturbojpeg0-dev"
        }
    ]
}