ALAS2022-2022-071

Related Vulnerabilities: CVE-2022-1586   CVE-2022-1587  

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)

ALAS2022-2022-071


Amazon Linux 2022 Security Advisory: ALAS-2022-071
Advisory Release Date: 2022-05-18 00:27 Pacific
Advisory Updated Date: 2022-05-19 18:18 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 --releasever=2022.0.20220518 pcre2 to update your system.

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

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

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

src:
    pcre2-10.40-1.amzn2022.src

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