GLSA-202209-04 : OpenJPEG: Multiple Vulnerabilities

medium Nessus Plugin ID 164806

Description

The remote host is affected by the vulnerability described in GLSA-202209-04 (OpenJPEG: Multiple Vulnerabilities)

- Integer Overflow in OpenJPEG v2.4.0 allows remote attackers to crash the application, causing a Denial of Service (DoS). This occurs when the attacker uses the command line option -ImgDir on a directory that contains 1048576 files. (CVE-2021-29338)

- A flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a large number of files. When it fails to allocate a buffer to store the filenames of the input directory, it calls free() on an uninitialized pointer, leading to a segmentation fault and a denial of service. (CVE-2022-1122)

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

Solution

All OpenJPEG 2 users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=media-libs/openjpeg-2.5.0

See Also

https://security.gentoo.org/glsa/202209-04

https://bugs.gentoo.org/show_bug.cgi?id=783513

https://bugs.gentoo.org/show_bug.cgi?id=836969

https://bugs.gentoo.org/show_bug.cgi?id=844064

Plugin Details

Severity: Medium

ID: 164806

File Name: gentoo_GLSA-202209-04.nasl

Version: 1.3

Type: local

Published: 9/7/2022

Updated: 10/12/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2022-1122

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:openjpeg, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/7/2022

Vulnerability Publication Date: 4/14/2021

Reference Information

CVE: CVE-2021-29338, CVE-2022-1122