Amazon Linux 2 Security Advisory: ALAS-2022-1894
Advisory Release Date: 2022-12-01 20:31 Pacific
Advisory Updated Date: 2022-12-06 22:40 Pacific
A flaw was found in the opj2_decompress program in openjpeg2 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)
Affected Packages:
openjpeg2
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update openjpeg2 to update your system.
aarch64:
openjpeg2-2.4.0-5.amzn2.aarch64
openjpeg2-devel-2.4.0-5.amzn2.aarch64
openjpeg2-tools-2.4.0-5.amzn2.aarch64
openjpeg2-debuginfo-2.4.0-5.amzn2.aarch64
i686:
openjpeg2-2.4.0-5.amzn2.i686
openjpeg2-devel-2.4.0-5.amzn2.i686
openjpeg2-tools-2.4.0-5.amzn2.i686
openjpeg2-debuginfo-2.4.0-5.amzn2.i686
noarch:
openjpeg2-devel-docs-2.4.0-5.amzn2.noarch
src:
openjpeg2-2.4.0-5.amzn2.src
x86_64:
openjpeg2-2.4.0-5.amzn2.x86_64
openjpeg2-devel-2.4.0-5.amzn2.x86_64
openjpeg2-tools-2.4.0-5.amzn2.x86_64
openjpeg2-debuginfo-2.4.0-5.amzn2.x86_64