Lucene search

K
amazonAmazonALAS2-2022-1894
HistoryDec 01, 2022 - 8:31 p.m.

Low: openjpeg2

2022-12-0120:31:00
alas.aws.amazon.com
14
openjpeg2
opj2_decompress
buffer allocation
denial of service
segmentation fault
amazon linux 2
yum update
aarch64
i686
noarch
x86_64
red hat
mitre

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

5.9

Confidence

High

EPSS

0.001

Percentile

35.1%

Issue Overview:

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.

New Packages:

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  

Additional References

Red Hat: CVE-2022-1122

Mitre: CVE-2022-1122

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

5.9

Confidence

High

EPSS

0.001

Percentile

35.1%