QID 354440

Date Published: 2022-12-21

QID 354440: Amazon Linux Security Advisory for pcre2 : ALAS2022-2022-071

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)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.1 severity.
  • CVSS V2 rated as High - 6.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2022-2022-071 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354440

    Software Advisories
    Advisory ID Software Component Link
    ALAS2022-2022-071 amazon linux 2022 URL Logo alas.aws.amazon.com/AL2022/ALAS-2022-071.html