UBUNTU-CVE-2020-15389

Source
https://ubuntu.com/security/CVE-2020-15389
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15389.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2020-15389
Related
Published
2020-06-29T21:15:00Z
Modified
2024-11-20T12:18:49Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
Summary
[none]
Details

jp2/opjdecompress.c in OpenJPEG through 2.3.1 has a use-after-free that can be triggered if there is a mix of valid and invalid files in a directory operated on by the decompressor. Triggering a double-free may also be possible. This is related to calling opjimage_destroy twice.

References

Affected packages

Ubuntu:16.04:LTS / openjpeg2

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.2-1.1+deb9u5build0.16.04.1

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp2-7"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp2-7-dbg"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp2-7-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp2-7-dev"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp2-7-dev-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp2-tools"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp2-tools-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp3d-tools"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp3d-tools-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp3d7"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjp3d7-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjpip-dec-server"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjpip-dec-server-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjpip-server"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjpip-server-dbgsym"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjpip-viewer"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "binary_name": "libopenjpip7"
        },
        {
            "binary_version": "2.1.2-1.1+deb9u5build0.16.04.1",
            "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-2+deb10u2build0.18.04.1

Affected versions

2.*

2.2.0-1
2.3.0-1
2.3.0-2build0.18.04.1

Ecosystem specific

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

Ubuntu:20.04:LTS / openjpeg2

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.1-1ubuntu4.20.04.1

Affected versions

2.*

2.3.0-2
2.3.0-2build1
2.3.1-1
2.3.1-1ubuntu3
2.3.1-1ubuntu4

Ecosystem specific

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

Ubuntu:22.04:LTS / openjpeg2

Package

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

Affected ranges

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

Ecosystem specific

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