<?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 cobbler</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2022:0509-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2022-02-18T10:45:09Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2022-02-18T10:45:09Z</InitialReleaseDate>
    <CurrentReleaseDate>2022-02-18T10:45:09Z</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 cobbler</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for cobbler fixes the following issues:

- CVE-2021-45083: Fixed unsafe permissions on sensitive files (bsc#1193671).
- CVE-2021-45082: Fixed incomplete template sanitation (bsc#1193678).

The following non-security bugs were fixed:

- Fix issues with installation module logging and validation (bsc#1195918)
- Move configuration files ownership to apache (bsc#1195906)
- Remove hardcoded test credentials (bsc#1193673)
- Prevent log pollution (bsc#1193675)
- Missing sanity check on MongoDB configuration file (bsc#1193676)  
</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">Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure-2022-509,Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM-2022-509,Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE-2022-509,SUSE-2022-509,SUSE-SLE-Module-SUSE-Manager-Server-4.2-2022-509</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://www.suse.com/support/update/announcement/2022/suse-su-20220509-1/</URL>
      <Description>Link for SUSE-SU-2022:0509-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2022-February/010259.html</URL>
      <Description>E-Mail link for SUSE-SU-2022:0509-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/1193671</URL>
      <Description>SUSE Bug 1193671</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1193673</URL>
      <Description>SUSE Bug 1193673</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1193675</URL>
      <Description>SUSE Bug 1193675</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1193676</URL>
      <Description>SUSE Bug 1193676</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1193678</URL>
      <Description>SUSE Bug 1193678</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1195906</URL>
      <Description>SUSE Bug 1195906</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1195918</URL>
      <Description>SUSE Bug 1195918</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-45082/</URL>
      <Description>SUSE CVE CVE-2021-45082 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-45083/</URL>
      <Description>SUSE CVE CVE-2021-45083 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure">
      <Branch Type="Product Name" Name="Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure">
        <FullProductName ProductID="Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure">Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM">
      <Branch Type="Product Name" Name="Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM">
        <FullProductName ProductID="Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM">Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE">
      <Branch Type="Product Name" Name="Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE">
        <FullProductName ProductID="Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE">Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Manager Server Module 4.2">
      <Branch Type="Product Name" Name="SUSE Manager Server Module 4.2">
        <FullProductName ProductID="SUSE Manager Server Module 4.2" CPE="cpe:/o:suse:sle-module-suse-manager-server:4.2">SUSE Manager Server Module 4.2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="cobbler-3.1.2-150300.5.14.1">
      <FullProductName ProductID="cobbler-3.1.2-150300.5.14.1">cobbler-3.1.2-150300.5.14.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cobbler-tests-3.1.2-150300.5.14.1">
      <FullProductName ProductID="cobbler-tests-3.1.2-150300.5.14.1">cobbler-tests-3.1.2-150300.5.14.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cobbler-web-3.1.2-150300.5.14.1">
      <FullProductName ProductID="cobbler-web-3.1.2-150300.5.14.1">cobbler-web-3.1.2-150300.5.14.1</FullProductName>
    </Branch>
    <Relationship ProductReference="cobbler-3.1.2-150300.5.14.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure">
      <FullProductName ProductID="Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure:cobbler-3.1.2-150300.5.14.1">cobbler-3.1.2-150300.5.14.1 as a component of Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure</FullProductName>
    </Relationship>
    <Relationship ProductReference="cobbler-3.1.2-150300.5.14.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM">
      <FullProductName ProductID="Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM:cobbler-3.1.2-150300.5.14.1">cobbler-3.1.2-150300.5.14.1 as a component of Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM</FullProductName>
    </Relationship>
    <Relationship ProductReference="cobbler-3.1.2-150300.5.14.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE">
      <FullProductName ProductID="Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE:cobbler-3.1.2-150300.5.14.1">cobbler-3.1.2-150300.5.14.1 as a component of Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE</FullProductName>
    </Relationship>
    <Relationship ProductReference="cobbler-3.1.2-150300.5.14.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Manager Server Module 4.2">
      <FullProductName ProductID="SUSE Manager Server Module 4.2:cobbler-3.1.2-150300.5.14.1">cobbler-3.1.2-150300.5.14.1 as a component of SUSE Manager Server Module 4.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 issue was discovered in Cobbler before 3.3.1. In the templar.py file, the function check_for_invalid_imports can allow Cheetah code to import Python modules via the "#from MODULE import" substring. (Only lines beginning with #import are blocked.)</Note>
    </Notes>
    <CVE>CVE-2021-45082</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure:cobbler-3.1.2-150300.5.14.1</ProductID>
        <ProductID>Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM:cobbler-3.1.2-150300.5.14.1</ProductID>
        <ProductID>Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE:cobbler-3.1.2-150300.5.14.1</ProductID>
        <ProductID>SUSE Manager Server Module 4.2:cobbler-3.1.2-150300.5.14.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://www.suse.com/support/update/announcement/2022/suse-su-20220509-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-45082.html</URL>
        <Description>CVE-2021-45082</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1193678</URL>
        <Description>SUSE Bug 1193678</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 issue was discovered in Cobbler before 3.3.1. Files in /etc/cobbler are world readable. Two of those files contain some sensitive information that can be exposed to a local user who has non-privileged access to the server. The users.digest file contains the sha2-512 digest of users in a Cobbler local installation. In the case of an easy-to-guess password, it's trivial to obtain the plaintext string. The settings.yaml file contains secrets such as the hashed default password.</Note>
    </Notes>
    <CVE>CVE-2021-45083</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure:cobbler-3.1.2-150300.5.14.1</ProductID>
        <ProductID>Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM:cobbler-3.1.2-150300.5.14.1</ProductID>
        <ProductID>Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE:cobbler-3.1.2-150300.5.14.1</ProductID>
        <ProductID>SUSE Manager Server Module 4.2:cobbler-3.1.2-150300.5.14.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://www.suse.com/support/update/announcement/2022/suse-su-20220509-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-45083.html</URL>
        <Description>CVE-2021-45083</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1193671</URL>
        <Description>SUSE Bug 1193671</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
