ALAS2023-2023-045


Amazon Linux 2023 Security Advisory: ALAS-2023-045
Advisory Release Date: 2023-02-17 20:44 Pacific
Advisory Updated Date: 2023-02-22 23:41 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=2023.0.20230222 to update your system.

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

noarch:
    pcre2-syntax-10.40-1.amzn2023.0.2.noarch

src:
    pcre2-10.40-1.amzn2023.0.2.src

x86_64:
    pcre2-static-10.40-1.amzn2023.0.2.x86_64
    pcre2-debugsource-10.40-1.amzn2023.0.2.x86_64
    pcre2-utf16-debuginfo-10.40-1.amzn2023.0.2.x86_64
    pcre2-utf32-10.40-1.amzn2023.0.2.x86_64
    pcre2-debuginfo-10.40-1.amzn2023.0.2.x86_64
    pcre2-tools-10.40-1.amzn2023.0.2.x86_64
    pcre2-utf16-10.40-1.amzn2023.0.2.x86_64
    pcre2-utf32-debuginfo-10.40-1.amzn2023.0.2.x86_64
    pcre2-tools-debuginfo-10.40-1.amzn2023.0.2.x86_64
    pcre2-10.40-1.amzn2023.0.2.x86_64
    pcre2-devel-10.40-1.amzn2023.0.2.x86_64