ALAS2022-2022-191


Amazon Linux 2022 Security Advisory: ALAS-2022-191
Advisory Release Date: 2022-11-01 21:24 Pacific
Advisory Updated Date: 2022-11-03 20:58 Pacific
Severity: Medium

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)

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the get_recurse_data_length() function of the pcre2_jit_compile.c file. This issue affects recursions in JIT-compiled regular expressions caused by duplicate data transfers. (CVE-2022-1587)


Affected Packages:

pcre2


Issue Correction:
Run dnf update pcre2 --releasever=2022.0.20221102 to update your system.

New Packages:
aarch64:
    pcre2-debugsource-10.40-1.amzn2022.0.1.aarch64
    pcre2-utf16-debuginfo-10.40-1.amzn2022.0.1.aarch64
    pcre2-tools-debuginfo-10.40-1.amzn2022.0.1.aarch64
    pcre2-static-10.40-1.amzn2022.0.1.aarch64
    pcre2-utf32-10.40-1.amzn2022.0.1.aarch64
    pcre2-utf16-10.40-1.amzn2022.0.1.aarch64
    pcre2-10.40-1.amzn2022.0.1.aarch64
    pcre2-utf32-debuginfo-10.40-1.amzn2022.0.1.aarch64
    pcre2-debuginfo-10.40-1.amzn2022.0.1.aarch64
    pcre2-tools-10.40-1.amzn2022.0.1.aarch64
    pcre2-devel-10.40-1.amzn2022.0.1.aarch64

noarch:
    pcre2-syntax-10.40-1.amzn2022.0.1.noarch

src:
    pcre2-10.40-1.amzn2022.0.1.src

x86_64:
    pcre2-static-10.40-1.amzn2022.0.1.x86_64
    pcre2-tools-debuginfo-10.40-1.amzn2022.0.1.x86_64
    pcre2-debuginfo-10.40-1.amzn2022.0.1.x86_64
    pcre2-devel-10.40-1.amzn2022.0.1.x86_64
    pcre2-debugsource-10.40-1.amzn2022.0.1.x86_64
    pcre2-tools-10.40-1.amzn2022.0.1.x86_64
    pcre2-utf32-debuginfo-10.40-1.amzn2022.0.1.x86_64
    pcre2-utf16-debuginfo-10.40-1.amzn2022.0.1.x86_64
    pcre2-utf16-10.40-1.amzn2022.0.1.x86_64
    pcre2-utf32-10.40-1.amzn2022.0.1.x86_64
    pcre2-10.40-1.amzn2022.0.1.x86_64