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

salt:

- Remove wrong _parse_cpe_name from grains.core
- Prevent tracebacks if directory for cookie is missing
- Fix file.find tracebacks with non utf8 file names (bsc#1190114)
- Fix ip6_interface grain to not leak secondary IPv4 aliases (bsc#1191412)
- Do not consider skipped targets as failed for ansible.playbooks state (bsc#1190446)
- Fix traceback.*_exc() calls
- Fix the regression of docker_container state module
- Support querying for JSON data in external sql pillar
- Exclude the full path of a download URL to prevent injection of
  malicious code (bsc#1190265) (CVE-2021-21996)
- Fix wrong relative paths resolution with Jinja renderer when importing subdirectories
- Fix python-MarkupSafe dependency (bsc#1189043)
- Add missing aarch64 to rpm package architectures
- Consolidate some state requisites (bsc#1188641)
- Fix failing unit test for systemd
- Fix error handling in openscap module (bsc#1188647)
- Better handling of bad public keys from minions (bsc#1189040)
- Define license macro as doc in spec file if not existing
- Add standalone formulas configuration for salt minion and remove salt-master requirement (bsc#1168327)
- Do noop for services states when running systemd in offline mode (bsc#1187787)
- Transactional_updates: do not execute states in parallel but use a queue (bsc#1188170)
- Handle 'master tops' data when states are applied by 'transactional_update' (bsc#1187787)
- Enhance openscap module: add 'xccdf_eval' call
- Virt: pass emulator when getting domain capabilities from libvirt
- Implementation of held/unheld functions for state pkg (bsc#1187813)
- Fix exception in yumpkg.remove for not installed package
- Fix save for iptables state module (bsc#1185131)
- Virt: use /dev/kvm to detect KVM
- Zypperpkg: improve logic for handling vendorchange flags
- Add bundled provides for tornado to the spec file
- Enhance logging when inotify beacon is missing pyinotify (bsc#1186310)
- Add 'python3-pyinotify' as a recommended package for Salt in SUSE/openSUSE distros
- Check if dpkgnotify is executable (bsc#1186674)
- Detect Python version to use inside container (bsc#1167586) (bsc#1164192)
- Handle volumes on stopped pools in virt.vm_info (bsc#1186287)
- Grains.extra: support old non-intel kernels (bsc#1180650)
- Fix missing minion returns in batch mode (bsc#1184659)

</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-2021-3906,SUSE-SLE-Manager-Tools-12-BETA-2021-3906</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/2021/suse-su-20213906-1/</URL>
      <Description>Link for SUSE-SU-2021:3906-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2021-December/009824.html</URL>
      <Description>E-Mail link for SUSE-SU-2021:3906-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/1164192</URL>
      <Description>SUSE Bug 1164192</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1167586</URL>
      <Description>SUSE Bug 1167586</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1168327</URL>
      <Description>SUSE Bug 1168327</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1180650</URL>
      <Description>SUSE Bug 1180650</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1184659</URL>
      <Description>SUSE Bug 1184659</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1185131</URL>
      <Description>SUSE Bug 1185131</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1186287</URL>
      <Description>SUSE Bug 1186287</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1186310</URL>
      <Description>SUSE Bug 1186310</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1186674</URL>
      <Description>SUSE Bug 1186674</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1187787</URL>
      <Description>SUSE Bug 1187787</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1187813</URL>
      <Description>SUSE Bug 1187813</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1188170</URL>
      <Description>SUSE Bug 1188170</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1188641</URL>
      <Description>SUSE Bug 1188641</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1188647</URL>
      <Description>SUSE Bug 1188647</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1189040</URL>
      <Description>SUSE Bug 1189040</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1189043</URL>
      <Description>SUSE Bug 1189043</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1190114</URL>
      <Description>SUSE Bug 1190114</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1190265</URL>
      <Description>SUSE Bug 1190265</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1190446</URL>
      <Description>SUSE Bug 1190446</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1191412</URL>
      <Description>SUSE Bug 1191412</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2021-21996/</URL>
      <Description>SUSE CVE CVE-2021-21996 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Version" Name="python-Jinja2-2.8-22.5.1">
      <FullProductName ProductID="python-Jinja2-2.8-22.5.1">python-Jinja2-2.8-22.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-Jinja2-emacs-2.8-22.5.1">
      <FullProductName ProductID="python-Jinja2-emacs-2.8-22.5.1">python-Jinja2-emacs-2.8-22.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-Jinja2-vim-2.8-22.5.1">
      <FullProductName ProductID="python-Jinja2-vim-2.8-22.5.1">python-Jinja2-vim-2.8-22.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-MarkupSafe-0.23-6.5.1">
      <FullProductName ProductID="python-MarkupSafe-0.23-6.5.1">python-MarkupSafe-0.23-6.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-PyYAML-5.1.2-29.5.1">
      <FullProductName ProductID="python-PyYAML-5.1.2-29.5.1">python-PyYAML-5.1.2-29.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-msgpack-python-0.4.6-11.5.1">
      <FullProductName ProductID="python-msgpack-python-0.4.6-11.5.1">python-msgpack-python-0.4.6-11.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-psutil-5.2.2-18.5.1">
      <FullProductName ProductID="python-psutil-5.2.2-18.5.1">python-psutil-5.2.2-18.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-pycrypto-2.6.1-13.5.1">
      <FullProductName ProductID="python-pycrypto-2.6.1-13.5.1">python-pycrypto-2.6.1-13.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-pyzmq-14.0.0-12.5.1">
      <FullProductName ProductID="python-pyzmq-14.0.0-12.5.1">python-pyzmq-14.0.0-12.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-pyzmq-devel-14.0.0-12.5.1">
      <FullProductName ProductID="python-pyzmq-devel-14.0.0-12.5.1">python-pyzmq-devel-14.0.0-12.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python-singledispatch-3.4.0.3-4.8.1">
      <FullProductName ProductID="python-singledispatch-3.4.0.3-4.8.1">python-singledispatch-3.4.0.3-4.8.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python2-salt-3000-49.38.2">
      <FullProductName ProductID="python2-salt-3000-49.38.2">python2-salt-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-Jinja2-2.8-22.5.1">
      <FullProductName ProductID="python3-Jinja2-2.8-22.5.1">python3-Jinja2-2.8-22.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-MarkupSafe-0.23-6.5.1">
      <FullProductName ProductID="python3-MarkupSafe-0.23-6.5.1">python3-MarkupSafe-0.23-6.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-PyYAML-5.1.2-29.5.1">
      <FullProductName ProductID="python3-PyYAML-5.1.2-29.5.1">python3-PyYAML-5.1.2-29.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-msgpack-python-0.4.6-11.5.1">
      <FullProductName ProductID="python3-msgpack-python-0.4.6-11.5.1">python3-msgpack-python-0.4.6-11.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-psutil-5.2.2-18.5.1">
      <FullProductName ProductID="python3-psutil-5.2.2-18.5.1">python3-psutil-5.2.2-18.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-pycrypto-2.6.1-13.5.1">
      <FullProductName ProductID="python3-pycrypto-2.6.1-13.5.1">python3-pycrypto-2.6.1-13.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-pyzmq-14.0.0-12.5.1">
      <FullProductName ProductID="python3-pyzmq-14.0.0-12.5.1">python3-pyzmq-14.0.0-12.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-pyzmq-devel-14.0.0-12.5.1">
      <FullProductName ProductID="python3-pyzmq-devel-14.0.0-12.5.1">python3-pyzmq-devel-14.0.0-12.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="python3-salt-3000-49.38.2">
      <FullProductName ProductID="python3-salt-3000-49.38.2">python3-salt-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-3000-49.38.2">
      <FullProductName ProductID="salt-3000-49.38.2">salt-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-api-3000-49.38.2">
      <FullProductName ProductID="salt-api-3000-49.38.2">salt-api-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-bash-completion-3000-49.38.2">
      <FullProductName ProductID="salt-bash-completion-3000-49.38.2">salt-bash-completion-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-cloud-3000-49.38.2">
      <FullProductName ProductID="salt-cloud-3000-49.38.2">salt-cloud-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-doc-3000-49.38.2">
      <FullProductName ProductID="salt-doc-3000-49.38.2">salt-doc-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-fish-completion-3000-49.38.2">
      <FullProductName ProductID="salt-fish-completion-3000-49.38.2">salt-fish-completion-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-master-3000-49.38.2">
      <FullProductName ProductID="salt-master-3000-49.38.2">salt-master-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-minion-3000-49.38.2">
      <FullProductName ProductID="salt-minion-3000-49.38.2">salt-minion-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-proxy-3000-49.38.2">
      <FullProductName ProductID="salt-proxy-3000-49.38.2">salt-proxy-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-ssh-3000-49.38.2">
      <FullProductName ProductID="salt-ssh-3000-49.38.2">salt-ssh-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-standalone-formulas-configuration-3000-49.38.2">
      <FullProductName ProductID="salt-standalone-formulas-configuration-3000-49.38.2">salt-standalone-formulas-configuration-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-syndic-3000-49.38.2">
      <FullProductName ProductID="salt-syndic-3000-49.38.2">salt-syndic-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-transactional-update-3000-49.38.2">
      <FullProductName ProductID="salt-transactional-update-3000-49.38.2">salt-transactional-update-3000-49.38.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="salt-zsh-completion-3000-49.38.2">
      <FullProductName ProductID="salt-zsh-completion-3000-49.38.2">salt-zsh-completion-3000-49.38.2</FullProductName>
    </Branch>
  </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 SaltStack Salt before 3003.3. A user who has control of the source, and source_hash URLs can gain full file system access as root on a salt minion.</Note>
    </Notes>
    <CVE>CVE-2021-21996</CVE>
    <ProductStatuses>
      <Status Type="Fixed"/>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/2021/suse-su-20213906-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2021-21996.html</URL>
        <Description>CVE-2021-21996</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1190265</URL>
        <Description>SUSE Bug 1190265</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1210934</URL>
        <Description>SUSE Bug 1210934</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
