MGASA-2022-0417 - Updated pcre packages fix security vulnerability

Publication date: 13 Nov 2022
URL: https://advisories.mageia.org/MGASA-2022-0417.html
Type: security
Affected Mageia releases: 8
CVE: 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)

References:
- https://bugs.mageia.org/show_bug.cgi?id=30426
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/M2GLQQUEY5VFM57CFYXVIFOXN2HUZPDM/
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/KE7HTE3HTSBOQDKJHUQC6F7TDVU6A2H5/
- https://access.redhat.com/errata/RHSA-2022:5251
- https://lists.suse.com/pipermail/sle-security-updates/2022-July/011480.html
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-1587
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JFWEPYJLVFR3H2W7ZTYXJX5DCDXYG6CY/
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/365XX4K3GWL5IQIIBELCA2CL5KWYJZP7/
- https://ubuntu.com/security/notices/USN-5627-1
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1586
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1587

SRPMS:
- 8/core/pcre-8.44-1.1.mga8
- 8/core/pcre2-10.36-1.1.mga8

Mageia 2022-0417: pcre security update

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

Summary

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)

References

- https://bugs.mageia.org/show_bug.cgi?id=30426

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/M2GLQQUEY5VFM57CFYXVIFOXN2HUZPDM/

- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/KE7HTE3HTSBOQDKJHUQC6F7TDVU6A2H5/

- https://access.redhat.com/errata/RHSA-2022:5251

- https://lists.suse.com/pipermail/sle-security-updates/2022-July/011480.html

- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-1587

- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JFWEPYJLVFR3H2W7ZTYXJX5DCDXYG6CY/

- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/365XX4K3GWL5IQIIBELCA2CL5KWYJZP7/

- https://ubuntu.com/security/notices/USN-5627-1

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1586

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1587

Resolution

MGASA-2022-0417 - Updated pcre packages fix security vulnerability

SRPMS

- 8/core/pcre-8.44-1.1.mga8

- 8/core/pcre2-10.36-1.1.mga8

Severity
Publication date: 13 Nov 2022
URL: https://advisories.mageia.org/MGASA-2022-0417.html
Type: security
CVE: CVE-2022-1586, CVE-2022-1587

Related News