<?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 kubevirt, virt-api-container, virt-controller-container, virt-handler-container, virt-launcher-container, virt-libguestfs-tools-container, virt-operator-container</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:3321-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2022-09-20T15:19:24Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2022-09-20T15:19:24Z</InitialReleaseDate>
    <CurrentReleaseDate>2022-09-20T15:19:24Z</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 kubevirt, virt-api-container, virt-controller-container, virt-handler-container, virt-launcher-container, virt-libguestfs-tools-container, virt-operator-container</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for kubevirt, virt-api-container, virt-controller-container, virt-handler-container, virt-launcher-container, virt-libguestfs-tools-container, virt-operator-container fixes the following issues:

Security issues fixed:

- CVE-2022-1798: Fix arbitrary file read on the host from KubeVirt VMs (bsc#1202516)

Security issues fixed in vendored dependencies:

- CVE-2022-1996: Fixed go-restful CORS bypass (bsc#1200528)
- CVE-2022-29162: Fixed runc incorrect handling of inheritable capabilities in default configuration (bsc#1199460)

Other fixes:

- Pack nft rules and nsswitch.conf for virt-handler
- Only create 1MiB-aligned disk images (bsc#1199603)
- Avoid to return nil failure message
- Use semantic equality comparison
- Allow to configure utility containers for update test
- Install nftables to manage network rules
- Install tar to allow kubectl cp ...
- Symlink nsswitch.conf and nft rules to proper locations
- Enable USB redirection support for QEMU
- Install vim-small instread of vim
- Drop libvirt-daemon-driver-storage-core
- Install ethtool and gawk (bsc#1199392)
- Use non-versioned appliance to avoid redundant rpm query
- Explicitly state the dependency on kubevirt main package
</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">SUSE-2022-3321,SUSE-SLE-Module-Containers-15-SP3-2022-3321,openSUSE-SLE-15.3-2022-3321</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-20223321-1/</URL>
      <Description>Link for SUSE-SU-2022:3321-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2022-September/012297.html</URL>
      <Description>E-Mail link for SUSE-SU-2022:3321-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/1199392</URL>
      <Description>SUSE Bug 1199392</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1199460</URL>
      <Description>SUSE Bug 1199460</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1199603</URL>
      <Description>SUSE Bug 1199603</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1200528</URL>
      <Description>SUSE Bug 1200528</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1202516</URL>
      <Description>SUSE Bug 1202516</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-1798/</URL>
      <Description>SUSE CVE CVE-2022-1798 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-1996/</URL>
      <Description>SUSE CVE CVE-2022-1996 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-29162/</URL>
      <Description>SUSE CVE CVE-2022-29162 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Containers 15 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Containers 15 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Containers 15 SP3" CPE="cpe:/o:suse:sle-module-containers:15:sp3">SUSE Linux Enterprise Module for Containers 15 SP3</FullProductName>
      </Branch>
    </Branch>
    <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="kubevirt-container-disk-0.49.0-150300.8.13.1">
      <FullProductName ProductID="kubevirt-container-disk-0.49.0-150300.8.13.1">kubevirt-container-disk-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-manifests-0.49.0-150300.8.13.1">
      <FullProductName ProductID="kubevirt-manifests-0.49.0-150300.8.13.1">kubevirt-manifests-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-tests-0.49.0-150300.8.13.1">
      <FullProductName ProductID="kubevirt-tests-0.49.0-150300.8.13.1">kubevirt-tests-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-api-0.49.0-150300.8.13.1">
      <FullProductName ProductID="kubevirt-virt-api-0.49.0-150300.8.13.1">kubevirt-virt-api-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-controller-0.49.0-150300.8.13.1">
      <FullProductName ProductID="kubevirt-virt-controller-0.49.0-150300.8.13.1">kubevirt-virt-controller-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-handler-0.49.0-150300.8.13.1">
      <FullProductName ProductID="kubevirt-virt-handler-0.49.0-150300.8.13.1">kubevirt-virt-handler-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-launcher-0.49.0-150300.8.13.1">
      <FullProductName ProductID="kubevirt-virt-launcher-0.49.0-150300.8.13.1">kubevirt-virt-launcher-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-operator-0.49.0-150300.8.13.1">
      <FullProductName ProductID="kubevirt-virt-operator-0.49.0-150300.8.13.1">kubevirt-virt-operator-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virtctl-0.49.0-150300.8.13.1">
      <FullProductName ProductID="kubevirt-virtctl-0.49.0-150300.8.13.1">kubevirt-virtctl-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="obs-service-kubevirt_containers_meta-0.49.0-150300.8.13.1">
      <FullProductName ProductID="obs-service-kubevirt_containers_meta-0.49.0-150300.8.13.1">obs-service-kubevirt_containers_meta-0.49.0-150300.8.13.1</FullProductName>
    </Branch>
    <Relationship ProductReference="kubevirt-manifests-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Containers 15 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Containers 15 SP3:kubevirt-manifests-0.49.0-150300.8.13.1">kubevirt-manifests-0.49.0-150300.8.13.1 as a component of SUSE Linux Enterprise Module for Containers 15 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virtctl-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Containers 15 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Containers 15 SP3:kubevirt-virtctl-0.49.0-150300.8.13.1">kubevirt-virtctl-0.49.0-150300.8.13.1 as a component of SUSE Linux Enterprise Module for Containers 15 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-container-disk-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:kubevirt-container-disk-0.49.0-150300.8.13.1">kubevirt-container-disk-0.49.0-150300.8.13.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-manifests-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:kubevirt-manifests-0.49.0-150300.8.13.1">kubevirt-manifests-0.49.0-150300.8.13.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-tests-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:kubevirt-tests-0.49.0-150300.8.13.1">kubevirt-tests-0.49.0-150300.8.13.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-api-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:kubevirt-virt-api-0.49.0-150300.8.13.1">kubevirt-virt-api-0.49.0-150300.8.13.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-controller-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:kubevirt-virt-controller-0.49.0-150300.8.13.1">kubevirt-virt-controller-0.49.0-150300.8.13.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-handler-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:kubevirt-virt-handler-0.49.0-150300.8.13.1">kubevirt-virt-handler-0.49.0-150300.8.13.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-launcher-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:kubevirt-virt-launcher-0.49.0-150300.8.13.1">kubevirt-virt-launcher-0.49.0-150300.8.13.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-operator-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:kubevirt-virt-operator-0.49.0-150300.8.13.1">kubevirt-virt-operator-0.49.0-150300.8.13.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virtctl-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:kubevirt-virtctl-0.49.0-150300.8.13.1">kubevirt-virtctl-0.49.0-150300.8.13.1 as a component of openSUSE Leap 15.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="obs-service-kubevirt_containers_meta-0.49.0-150300.8.13.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.3">
      <FullProductName ProductID="openSUSE Leap 15.3:obs-service-kubevirt_containers_meta-0.49.0-150300.8.13.1">obs-service-kubevirt_containers_meta-0.49.0-150300.8.13.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">A path traversal vulnerability in KubeVirt versions up to 0.56 (and 0.55.1) on all platforms allows a user able to configure the kubevirt to read arbitrary files on the host filesystem which are publicly readable or which are readable for UID 107 or GID 107. /proc/self/&lt;&gt; is not accessible.</Note>
    </Notes>
    <CVE>CVE-2022-1798</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Containers 15 SP3:kubevirt-manifests-0.49.0-150300.8.13.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Containers 15 SP3:kubevirt-virtctl-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-container-disk-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-manifests-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-tests-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-api-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-controller-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-handler-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-launcher-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-operator-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virtctl-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:obs-service-kubevirt_containers_meta-0.49.0-150300.8.13.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-20223321-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-1798.html</URL>
        <Description>CVE-2022-1798</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1202516</URL>
        <Description>SUSE Bug 1202516</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">Authorization Bypass Through User-Controlled Key in GitHub repository emicklei/go-restful prior to v3.8.0.</Note>
    </Notes>
    <CVE>CVE-2022-1996</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Containers 15 SP3:kubevirt-manifests-0.49.0-150300.8.13.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Containers 15 SP3:kubevirt-virtctl-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-container-disk-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-manifests-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-tests-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-api-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-controller-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-handler-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-launcher-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-operator-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virtctl-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:obs-service-kubevirt_containers_meta-0.49.0-150300.8.13.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-20223321-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-1996.html</URL>
        <Description>CVE-2022-1996</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1200528</URL>
        <Description>SUSE Bug 1200528</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">runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. A bug was found in runc prior to version 1.1.2 where `runc exec --cap` created processes with non-empty inheritable Linux process capabilities, creating an atypical Linux environment and enabling programs with inheritable file capabilities to elevate those capabilities to the permitted set during execve(2). This bug did not affect the container security sandbox as the inheritable set never contained more capabilities than were included in the container's bounding set. This bug has been fixed in runc 1.1.2. This fix changes `runc exec --cap` behavior such that the additional capabilities granted to the process being executed (as specified via `--cap` arguments) do not include inheritable capabilities. In addition, `runc spec` is changed to not set any inheritable capabilities in the created example OCI spec (`config.json`) file.</Note>
    </Notes>
    <CVE>CVE-2022-29162</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Containers 15 SP3:kubevirt-manifests-0.49.0-150300.8.13.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Containers 15 SP3:kubevirt-virtctl-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-container-disk-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-manifests-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-tests-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-api-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-controller-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-handler-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-launcher-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virt-operator-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:kubevirt-virtctl-0.49.0-150300.8.13.1</ProductID>
        <ProductID>openSUSE Leap 15.3:obs-service-kubevirt_containers_meta-0.49.0-150300.8.13.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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-20223321-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-29162.html</URL>
        <Description>CVE-2022-29162</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1199460</URL>
        <Description>SUSE Bug 1199460</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
