ALAS2-2022-1871

Related Vulnerabilities: CVE-2022-1586  

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT. (CVE-2022-1586)

ALAS2-2022-1871


Amazon Linux 2 Security Advisory: ALAS-2022-1871
Advisory Release Date: 2022-10-31 19:40 Pacific
Advisory Updated Date: 2022-11-08 22:20 Pacific
Severity: Medium
References: CVE-2022-1586 

Issue Overview:

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT. (CVE-2022-1586)


Affected Packages:

pcre2


Issue Correction:
Run yum update pcre2 to update your system.

New Packages:
aarch64:
    pcre2-10.23-11.amzn2.0.1.aarch64
    pcre2-utf16-10.23-11.amzn2.0.1.aarch64
    pcre2-utf32-10.23-11.amzn2.0.1.aarch64
    pcre2-devel-10.23-11.amzn2.0.1.aarch64
    pcre2-static-10.23-11.amzn2.0.1.aarch64
    pcre2-tools-10.23-11.amzn2.0.1.aarch64
    pcre2-debuginfo-10.23-11.amzn2.0.1.aarch64

i686:
    pcre2-10.23-11.amzn2.0.1.i686
    pcre2-utf16-10.23-11.amzn2.0.1.i686
    pcre2-utf32-10.23-11.amzn2.0.1.i686
    pcre2-devel-10.23-11.amzn2.0.1.i686
    pcre2-static-10.23-11.amzn2.0.1.i686
    pcre2-tools-10.23-11.amzn2.0.1.i686
    pcre2-debuginfo-10.23-11.amzn2.0.1.i686

src:
    pcre2-10.23-11.amzn2.0.1.src

x86_64:
    pcre2-10.23-11.amzn2.0.1.x86_64
    pcre2-utf16-10.23-11.amzn2.0.1.x86_64
    pcre2-utf32-10.23-11.amzn2.0.1.x86_64
    pcre2-devel-10.23-11.amzn2.0.1.x86_64
    pcre2-static-10.23-11.amzn2.0.1.x86_64
    pcre2-tools-10.23-11.amzn2.0.1.x86_64
    pcre2-debuginfo-10.23-11.amzn2.0.1.x86_64