UBUNTU-CVE-2017-12982

Source
https://ubuntu.com/security/CVE-2017-12982
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12982.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2017-12982
Related
Published
2017-08-21T07:29:00Z
Modified
2024-11-20T12:21:45Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The bmpreadinfoheader function in bin/jp2/convertbmp.c in OpenJPEG 2.2.0 does not reject headers with a zero biBitCount, which allows remote attackers to cause a denial of service (memory allocation failure) in the opjimagecreate function in lib/openjp2/image.c, related to the opjalignedallocn function in opj_malloc.c.

References

Affected packages

Ubuntu:Pro:16.04:LTS / openjpeg2

Package

Name
openjpeg2
Purl
pkg:deb/ubuntu/openjpeg2?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.2-1.1+deb9u6ubuntu0.1~esm1

Affected versions

2.*

2.1.0-2.1
2.1.0-2.1ubuntu0.1
2.1.2-1.1+deb9u2build0.1
2.1.2-1.1+deb9u3build0.16.04.1
2.1.2-1.1+deb9u3ubuntu0.1~esm1
2.1.2-1.1+deb9u5build0.16.04.1
2.1.2-1.1+deb9u5ubuntu0.1~esm1
2.1.2-1.1+deb9u6build0.16.04.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp2-7"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp2-7-dbg"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp2-7-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp2-7-dev"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp2-7-dev-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp2-tools"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp2-tools-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp3d-tools"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp3d-tools-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp3d7"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjp3d7-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjpip-dec-server"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjpip-dec-server-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjpip-server"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjpip-server-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjpip-viewer"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjpip7"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
            "binary_name": "libopenjpip7-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / openjpeg2

Package

Name
openjpeg2
Purl
pkg:deb/ubuntu/openjpeg2?arch=src?distro=bionic

Affected ranges

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

Affected versions

2.*

2.2.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjp2-7"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjp2-7-dbgsym"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjp2-7-dev"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjp2-tools"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjp2-tools-dbgsym"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjp3d-tools"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjp3d-tools-dbgsym"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjp3d7"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjp3d7-dbgsym"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjpip-dec-server"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjpip-dec-server-dbgsym"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjpip-server"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjpip-server-dbgsym"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjpip-viewer"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjpip7"
        },
        {
            "binary_version": "2.3.0-1",
            "binary_name": "libopenjpip7-dbgsym"
        }
    ]
}