<?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 log4j</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:4094-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2021-12-15T10:17:28Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2021-12-15T10:17:28Z</InitialReleaseDate>
    <CurrentReleaseDate>2021-12-15T10:17:28Z</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 log4j</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for log4j fixes the following issue:

CVE-2021-44228: The previously published fix by upstream turned out to be
incomplete. Therefore, upstream has recommended disabling JNDI support in log4j
by default to be completely sure that this vulnerability cannot be exploited.

This update implements that recommendation and disables JNDI support by
default. [bsc#1193611, CVE-2021-44228]

CVE-2021-45046: A Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack 
is also fixed by disabling JNDI support by default (bsc#1193743)
</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-4094</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/RDZ2MV2SSNKVN4EVV5AQ3HGQ2G4U2JHS/</URL>
      <Description>E-Mail link for openSUSE-SU-2021:4094-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/1193611</URL>
      <Description>SUSE Bug 1193611</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1193743</URL>
      <Description>SUSE Bug 1193743</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-44228/</URL>
      <Description>SUSE CVE CVE-2021-44228 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-45046/</URL>
      <Description>SUSE CVE CVE-2021-45046 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="log4j-2.13.0-4.6.1">
      <FullProductName ProductID="log4j-2.13.0-4.6.1">log4j-2.13.0-4.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="log4j-javadoc-2.13.0-4.6.1">
      <FullProductName ProductID="log4j-javadoc-2.13.0-4.6.1">log4j-javadoc-2.13.0-4.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="log4j-jcl-2.13.0-4.6.1">
      <FullProductName ProductID="log4j-jcl-2.13.0-4.6.1">log4j-jcl-2.13.0-4.6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="log4j-slf4j-2.13.0-4.6.1">
      <FullProductName ProductID="log4j-slf4j-2.13.0-4.6.1">log4j-slf4j-2.13.0-4.6.1</FullProductName>
    </Branch>
    <Relationship ProductReference="log4j-2.13.0-4.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:log4j-2.13.0-4.6.1">log4j-2.13.0-4.6.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="log4j-javadoc-2.13.0-4.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:log4j-javadoc-2.13.0-4.6.1">log4j-javadoc-2.13.0-4.6.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="log4j-jcl-2.13.0-4.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:log4j-jcl-2.13.0-4.6.1">log4j-jcl-2.13.0-4.6.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="log4j-slf4j-2.13.0-4.6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:log4j-slf4j-2.13.0-4.6.1">log4j-slf4j-2.13.0-4.6.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">Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.</Note>
    </Notes>
    <CVE>CVE-2021-44228</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.3:log4j-2.13.0-4.6.1</ProductID>
        <ProductID>openSUSE Leap 15.3:log4j-javadoc-2.13.0-4.6.1</ProductID>
        <ProductID>openSUSE Leap 15.3:log4j-jcl-2.13.0-4.6.1</ProductID>
        <ProductID>openSUSE Leap 15.3:log4j-slf4j-2.13.0-4.6.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>critical</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/RDZ2MV2SSNKVN4EVV5AQ3HGQ2G4U2JHS/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-44228.html</URL>
        <Description>CVE-2021-44228</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1193611</URL>
        <Description>SUSE Bug 1193611</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1193662</URL>
        <Description>SUSE Bug 1193662</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1193743</URL>
        <Description>SUSE Bug 1193743</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1193795</URL>
        <Description>SUSE Bug 1193795</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1194016</URL>
        <Description>SUSE Bug 1194016</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1194123</URL>
        <Description>SUSE Bug 1194123</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1202994</URL>
        <Description>SUSE Bug 1202994</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">It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.</Note>
    </Notes>
    <CVE>CVE-2021-45046</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 15.3:log4j-2.13.0-4.6.1</ProductID>
        <ProductID>openSUSE Leap 15.3:log4j-javadoc-2.13.0-4.6.1</ProductID>
        <ProductID>openSUSE Leap 15.3:log4j-jcl-2.13.0-4.6.1</ProductID>
        <ProductID>openSUSE Leap 15.3:log4j-slf4j-2.13.0-4.6.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/RDZ2MV2SSNKVN4EVV5AQ3HGQ2G4U2JHS/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-45046.html</URL>
        <Description>CVE-2021-45046</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1193743</URL>
        <Description>SUSE Bug 1193743</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
