Debian DLA-2277-1 : openjpeg2 security update

high Nessus Plugin ID 138391

Synopsis

The remote Debian host is missing a security update.

Description

The following CVEs were reported against src:openjpeg2.

CVE-2019-12973

In OpenJPEG 2.3.1, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file. This issue is similar to CVE-2018-6616.

CVE-2020-6851

OpenJPEG through 2.3.1 has a heap-based buffer overflow in opj_t1_clbl_decode_processor in openjp2/t1.c because of lack of opj_j2k_update_image_dimensions validation.

CVE-2020-8112

opj_t1_clbl_decode_processor in openjp2/t1.c in OpenJPEG 2.3.1 through 2020-01-28 has a heap-based buffer overflow in the qmfbid==1 case, a different issue than CVE-2020-6851.

CVE-2020-15389

jp2/opj_decompress.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 opj_image_destroy twice.

For Debian 9 stretch, these problems have been fixed in version 2.1.2-1.1+deb9u5.

We recommend that you upgrade your openjpeg2 packages.

For the detailed security status of openjpeg2 please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/openjpeg2

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://security-tracker.debian.org/tracker/source-package/openjpeg2

https://packages.debian.org/source/stretch/openjpeg2

https://lists.debian.org/debian-lts-announce/2020/07/msg00008.html

Plugin Details

Severity: High

ID: 138391

File Name: debian_DLA-2277.nasl

Version: 1.3

Type: local

Agent: unix

Published: 7/14/2020

Updated: 3/1/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2020-8112

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libopenjp2-7, p-cpe:/a:debian:debian_linux:libopenjp2-7-dbg, p-cpe:/a:debian:debian_linux:libopenjp2-7-dev, p-cpe:/a:debian:debian_linux:libopenjp2-tools, p-cpe:/a:debian:debian_linux:libopenjp3d-tools, p-cpe:/a:debian:debian_linux:libopenjp3d7, p-cpe:/a:debian:debian_linux:libopenjpip-dec-server, p-cpe:/a:debian:debian_linux:libopenjpip-server, p-cpe:/a:debian:debian_linux:libopenjpip-viewer, p-cpe:/a:debian:debian_linux:libopenjpip7, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/10/2020

Vulnerability Publication Date: 6/26/2019

Reference Information

CVE: CVE-2019-12973, CVE-2020-15389, CVE-2020-6851, CVE-2020-8112