<?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 nodejs12</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2021:2875-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-08-30T13:55:03Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-08-30T13:55:03Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-08-30T13:55:03Z</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 nodejs12</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for nodejs12 fixes the following issues:

Update to 12.22.5:

- CVE-2021-3672/CVE-2021-22931: Improper handling of untypical characters in domain names (bsc#1189370, bsc#1188881)
- CVE-2021-22940: Use after free on close http2 on stream canceling (bsc#1189368)
- CVE-2021-22939: Incomplete validation of rejectUnauthorized parameter (bsc#1189369)
- CVE-2021-22930: http2: fixes use after free on close http2 on stream canceling (bsc#1188917)
</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-SLE-15.3-2021-2875</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/HHIBOQVFGTSNZKZ3C7TDCN35RIGH22D4/</URL>
      <Description>E-Mail link for openSUSE-SU-2021:2875-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/1188881</URL>
      <Description>SUSE Bug 1188881</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1188917</URL>
      <Description>SUSE Bug 1188917</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1189368</URL>
      <Description>SUSE Bug 1189368</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1189369</URL>
      <Description>SUSE Bug 1189369</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1189370</URL>
      <Description>SUSE Bug 1189370</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-22930/</URL>
      <Description>SUSE CVE CVE-2021-22930 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-22931/</URL>
      <Description>SUSE CVE CVE-2021-22931 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-22939/</URL>
      <Description>SUSE CVE CVE-2021-22939 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-22940/</URL>
      <Description>SUSE CVE CVE-2021-22940 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-3672/</URL>
      <Description>SUSE CVE CVE-2021-3672 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 15.3">
      <Branch Type="Product Name" Name="openSUSE Leap 15.3">
        <FullProductName ProductID="openSUSE Leap 15.3" CPE="cpe:/o:opensuse:leap:15.3">openSUSE Leap 15.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="nodejs12-12.22.5-4.19.1">
      <FullProductName ProductID="nodejs12-12.22.5-4.19.1">nodejs12-12.22.5-4.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="nodejs12-devel-12.22.5-4.19.1">
      <FullProductName ProductID="nodejs12-devel-12.22.5-4.19.1">nodejs12-devel-12.22.5-4.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="nodejs12-docs-12.22.5-4.19.1">
      <FullProductName ProductID="nodejs12-docs-12.22.5-4.19.1">nodejs12-docs-12.22.5-4.19.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="npm12-12.22.5-4.19.1">
      <FullProductName ProductID="npm12-12.22.5-4.19.1">npm12-12.22.5-4.19.1</FullProductName>
    </Branch>
    <Relationship ProductReference="nodejs12-12.22.5-4.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:nodejs12-12.22.5-4.19.1">nodejs12-12.22.5-4.19.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="nodejs12-devel-12.22.5-4.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:nodejs12-devel-12.22.5-4.19.1">nodejs12-devel-12.22.5-4.19.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="nodejs12-docs-12.22.5-4.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:nodejs12-docs-12.22.5-4.19.1">nodejs12-docs-12.22.5-4.19.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="npm12-12.22.5-4.19.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:npm12-12.22.5-4.19.1">npm12-12.22.5-4.19.1 as a component of openSUSE Leap 15.3</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">Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.</Note>
    </Notes>
    <CVE>CVE-2021-22930</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.3:nodejs12-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-devel-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-docs-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:npm12-12.22.5-4.19.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>7.5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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/HHIBOQVFGTSNZKZ3C7TDCN35RIGH22D4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-22930.html</URL>
        <Description>CVE-2021-22930</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1188917</URL>
        <Description>SUSE Bug 1188917</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1189368</URL>
        <Description>SUSE Bug 1189368</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">Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.</Note>
    </Notes>
    <CVE>CVE-2021-22931</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.3:nodejs12-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-devel-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-docs-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:npm12-12.22.5-4.19.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>7.5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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/HHIBOQVFGTSNZKZ3C7TDCN35RIGH22D4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-22931.html</URL>
        <Description>CVE-2021-22931</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1189370</URL>
        <Description>SUSE Bug 1189370</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">If the Node.js https API was used incorrectly and "undefined" was in passed for the "rejectUnauthorized" parameter, no error was returned and connections to servers with an expired certificate would have been accepted.</Note>
    </Notes>
    <CVE>CVE-2021-22939</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.3:nodejs12-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-devel-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-docs-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:npm12-12.22.5-4.19.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:N/I:P/A:N</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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/HHIBOQVFGTSNZKZ3C7TDCN35RIGH22D4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-22939.html</URL>
        <Description>CVE-2021-22939</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1189369</URL>
        <Description>SUSE Bug 1189369</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.</Note>
    </Notes>
    <CVE>CVE-2021-22940</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.3:nodejs12-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-devel-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-docs-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:npm12-12.22.5-4.19.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>5</BaseScore>
        <Vector>AV:N/AC:L/Au:N/C:N/I:P/A:N</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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/HHIBOQVFGTSNZKZ3C7TDCN35RIGH22D4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-22940.html</URL>
        <Description>CVE-2021-22940</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1189368</URL>
        <Description>SUSE Bug 1189368</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="5">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A flaw was found in c-ares library, where a missing input validation check of host names returned by DNS (Domain Name Servers) can lead to output of wrong hostnames which might potentially lead to Domain Hijacking. The highest threat from this vulnerability is to confidentiality and integrity as well as system availability.</Note>
    </Notes>
    <CVE>CVE-2021-3672</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.3:nodejs12-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-devel-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:nodejs12-docs-12.22.5-4.19.1</ProductID>
        <ProductID>openSUSE Leap 15.3:npm12-12.22.5-4.19.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>6.8</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:P/I:P/A:P</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <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/HHIBOQVFGTSNZKZ3C7TDCN35RIGH22D4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-3672.html</URL>
        <Description>CVE-2021-3672</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1188881</URL>
        <Description>SUSE Bug 1188881</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1193099</URL>
        <Description>SUSE Bug 1193099</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
