Debian DLA-2975-1 : openjpeg2 - LTS security update

medium Nessus Plugin ID 159625

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2975 advisory.

Multiple vulnerabilities have been discovered in openjpeg2, the open-source JPEG 2000 codec.
CVE-2020-27842 Null pointer dereference through specially crafted input. The highest impact of this flaw is to application availability. CVE-2020-27843 The flaw allows an attacker to provide specially crafted input to the conversion or encoding functionality, causing an out-of-bounds read. The highest threat from this vulnerability is system availability. CVE-2021-29338 Integer overflow allows remote attackers to crash the application, causing a denial of service. This occurs when the attacker uses the command line option -ImgDir on a directory that contains 1048576 files. CVE-2022-1122 Input directory with a large number of files can lead to a segmentation fault and a denial of service due to a call of free() on an uninitialized pointer. For Debian 9 stretch, these problems have been fixed in version 2.1.2-1.1+deb9u7.
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 Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the openjpeg2 packages.

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

See Also

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

https://www.debian.org/lts/security/2022/dla-2975

https://security-tracker.debian.org/tracker/CVE-2020-27842

https://security-tracker.debian.org/tracker/CVE-2020-27843

https://security-tracker.debian.org/tracker/CVE-2021-29338

https://security-tracker.debian.org/tracker/CVE-2022-1122

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

Plugin Details

Severity: Medium

ID: 159625

File Name: debian_DLA-2975.nasl

Version: 1.5

Type: local

Agent: unix

Published: 4/10/2022

Updated: 1/24/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.6

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

CVSS Score Source: CVE-2020-27843

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

CVSS Score Source: CVE-2022-1122

Vulnerability Information

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

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: 4/10/2022

Vulnerability Publication Date: 12/17/2020

Reference Information

CVE: CVE-2020-27842, CVE-2020-27843, CVE-2021-29338, CVE-2022-1122