<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for pcre2</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2022:2649-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2022-08-03T13:06:51Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2022-08-03T13:06:51Z</InitialReleaseDate>
    <CurrentReleaseDate>2022-08-03T13:06:51Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for pcre2</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for pcre2 fixes the following issues:

- CVE-2019-20454: Fixed out-of-bounds read in JIT mode when \X is used in non-UTF mode (bsc#1164384).
- CVE-2022-1587: Fixed out-of-bounds read due to bug in recursions (bsc#1199235).
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">openSUSE-Leap-Micro-5.2-2022-2649</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ZVHVSVNKKW7CC77JRUJ23MMS76WXHBBU/</URL>
      <Description>E-Mail link for openSUSE-SU-2022:2649-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1164384</URL>
      <Description>SUSE Bug 1164384</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1199235</URL>
      <Description>SUSE Bug 1199235</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2019-20454/</URL>
      <Description>SUSE CVE CVE-2019-20454 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-1587/</URL>
      <Description>SUSE CVE CVE-2022-1587 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap Micro 5.2">
      <Branch Type="Product Name" Name="openSUSE Leap Micro 5.2">
        <FullProductName ProductID="openSUSE Leap Micro 5.2" CPE="cpe:/o:opensuse:leap-micro:5.2">openSUSE Leap Micro 5.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libpcre2-8-0-10.31-150000.3.12.1">
      <FullProductName ProductID="libpcre2-8-0-10.31-150000.3.12.1">libpcre2-8-0-10.31-150000.3.12.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libpcre2-8-0-10.31-150000.3.12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap Micro 5.2">
      <FullProductName ProductID="openSUSE Leap Micro 5.2:libpcre2-8-0-10.31-150000.3.12.1">libpcre2-8-0-10.31-150000.3.12.1 as a component of openSUSE Leap Micro 5.2</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An out-of-bounds read was discovered in PCRE before 10.34 when the pattern \X is JIT compiled and used to match specially crafted subjects in non-UTF mode. Applications that use PCRE to parse untrusted input may be vulnerable to this flaw, which would allow an attacker to crash the application. The flaw occurs in do_extuni_no_utf in pcre2_jit_compile.c.</Note>
    </Notes>
    <CVE>CVE-2019-20454</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap Micro 5.2:libpcre2-8-0-10.31-150000.3.12.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ZVHVSVNKKW7CC77JRUJ23MMS76WXHBBU/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2019-20454.html</URL>
        <Description>CVE-2019-20454</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1164384</URL>
        <Description>SUSE Bug 1164384</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1172973</URL>
        <Description>SUSE Bug 1172973</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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.</Note>
    </Notes>
    <CVE>CVE-2022-1587</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap Micro 5.2:libpcre2-8-0-10.31-150000.3.12.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ZVHVSVNKKW7CC77JRUJ23MMS76WXHBBU/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-1587.html</URL>
        <Description>CVE-2022-1587</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1199235</URL>
        <Description>SUSE Bug 1199235</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1201754</URL>
        <Description>SUSE Bug 1201754</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1203032</URL>
        <Description>SUSE Bug 1203032</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
