<?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:3333-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2022-09-22T06:46:45Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2022-09-22T06:46:45Z</InitialReleaseDate>
    <CurrentReleaseDate>2022-09-22T06:46:45Z</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:

The kubevirt stack was updated to version 0.54.0

Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.54.0

Security fixes:

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

Security fixes 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)

- Fix containerdisk unmount logic
- Support topology spread constraints
- Update libvirt-go to fix memory leak
- 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
- Drop kubevirt-psp-caasp.yaml
- Allow to configure utility containers for update test
- Symlink nsswitch.conf and nft rules to proper locations
- Drop unused package libvirt-client
- Install vim-small instead of vim
- Remove unneeded libvirt-daemon-driver-storage-core
- Install missing packages ethtool and gawk. Fixes bsc#1199392
</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-3333,SUSE-SLE-Module-Containers-15-SP4-2022-3333,openSUSE-SLE-15.4-2022-3333</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-20223333-1/</URL>
      <Description>Link for SUSE-SU-2022:3333-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2022-September/012328.html</URL>
      <Description>E-Mail link for SUSE-SU-2022:3333-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 SP4">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Containers 15 SP4">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Containers 15 SP4" CPE="cpe:/o:suse:sle-module-containers:15:sp4">SUSE Linux Enterprise Module for Containers 15 SP4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.4">
      <Branch Type="Product Name" Name="openSUSE Leap 15.4">
        <FullProductName ProductID="openSUSE Leap 15.4" CPE="cpe:/o:opensuse:leap:15.4">openSUSE Leap 15.4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-container-disk-0.54.0-150400.3.3.2">
      <FullProductName ProductID="kubevirt-container-disk-0.54.0-150400.3.3.2">kubevirt-container-disk-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-manifests-0.54.0-150400.3.3.2">
      <FullProductName ProductID="kubevirt-manifests-0.54.0-150400.3.3.2">kubevirt-manifests-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-tests-0.54.0-150400.3.3.2">
      <FullProductName ProductID="kubevirt-tests-0.54.0-150400.3.3.2">kubevirt-tests-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-api-0.54.0-150400.3.3.2">
      <FullProductName ProductID="kubevirt-virt-api-0.54.0-150400.3.3.2">kubevirt-virt-api-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-controller-0.54.0-150400.3.3.2">
      <FullProductName ProductID="kubevirt-virt-controller-0.54.0-150400.3.3.2">kubevirt-virt-controller-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-handler-0.54.0-150400.3.3.2">
      <FullProductName ProductID="kubevirt-virt-handler-0.54.0-150400.3.3.2">kubevirt-virt-handler-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-launcher-0.54.0-150400.3.3.2">
      <FullProductName ProductID="kubevirt-virt-launcher-0.54.0-150400.3.3.2">kubevirt-virt-launcher-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virt-operator-0.54.0-150400.3.3.2">
      <FullProductName ProductID="kubevirt-virt-operator-0.54.0-150400.3.3.2">kubevirt-virt-operator-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="kubevirt-virtctl-0.54.0-150400.3.3.2">
      <FullProductName ProductID="kubevirt-virtctl-0.54.0-150400.3.3.2">kubevirt-virtctl-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="obs-service-kubevirt_containers_meta-0.54.0-150400.3.3.2">
      <FullProductName ProductID="obs-service-kubevirt_containers_meta-0.54.0-150400.3.3.2">obs-service-kubevirt_containers_meta-0.54.0-150400.3.3.2</FullProductName>
    </Branch>
    <Relationship ProductReference="kubevirt-manifests-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Containers 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Containers 15 SP4:kubevirt-manifests-0.54.0-150400.3.3.2">kubevirt-manifests-0.54.0-150400.3.3.2 as a component of SUSE Linux Enterprise Module for Containers 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virtctl-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Containers 15 SP4">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Containers 15 SP4:kubevirt-virtctl-0.54.0-150400.3.3.2">kubevirt-virtctl-0.54.0-150400.3.3.2 as a component of SUSE Linux Enterprise Module for Containers 15 SP4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-container-disk-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:kubevirt-container-disk-0.54.0-150400.3.3.2">kubevirt-container-disk-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-manifests-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:kubevirt-manifests-0.54.0-150400.3.3.2">kubevirt-manifests-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-tests-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:kubevirt-tests-0.54.0-150400.3.3.2">kubevirt-tests-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-api-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:kubevirt-virt-api-0.54.0-150400.3.3.2">kubevirt-virt-api-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-controller-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:kubevirt-virt-controller-0.54.0-150400.3.3.2">kubevirt-virt-controller-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-handler-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:kubevirt-virt-handler-0.54.0-150400.3.3.2">kubevirt-virt-handler-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-launcher-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:kubevirt-virt-launcher-0.54.0-150400.3.3.2">kubevirt-virt-launcher-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virt-operator-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:kubevirt-virt-operator-0.54.0-150400.3.3.2">kubevirt-virt-operator-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="kubevirt-virtctl-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:kubevirt-virtctl-0.54.0-150400.3.3.2">kubevirt-virtctl-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</FullProductName>
    </Relationship>
    <Relationship ProductReference="obs-service-kubevirt_containers_meta-0.54.0-150400.3.3.2" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.4">
      <FullProductName ProductID="openSUSE Leap 15.4:obs-service-kubevirt_containers_meta-0.54.0-150400.3.3.2">obs-service-kubevirt_containers_meta-0.54.0-150400.3.3.2 as a component of openSUSE Leap 15.4</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 SP4:kubevirt-manifests-0.54.0-150400.3.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Containers 15 SP4:kubevirt-virtctl-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-container-disk-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-manifests-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-tests-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-api-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-controller-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-handler-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-launcher-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-operator-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virtctl-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:obs-service-kubevirt_containers_meta-0.54.0-150400.3.3.2</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-20223333-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 SP4:kubevirt-manifests-0.54.0-150400.3.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Containers 15 SP4:kubevirt-virtctl-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-container-disk-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-manifests-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-tests-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-api-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-controller-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-handler-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-launcher-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-operator-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virtctl-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:obs-service-kubevirt_containers_meta-0.54.0-150400.3.3.2</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://www.suse.com/support/update/announcement/2022/suse-su-20223333-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 SP4:kubevirt-manifests-0.54.0-150400.3.3.2</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Containers 15 SP4:kubevirt-virtctl-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-container-disk-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-manifests-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-tests-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-api-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-controller-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-handler-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-launcher-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virt-operator-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:kubevirt-virtctl-0.54.0-150400.3.3.2</ProductID>
        <ProductID>openSUSE Leap 15.4:obs-service-kubevirt_containers_meta-0.54.0-150400.3.3.2</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-20223333-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>
