{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2023 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for zsh","title":"Title of the patch"},{"category":"description","text":"This update for zsh fixes the following issues:\n\n- CVE-2021-45444: Fixed a vulnerability where arbitrary shell commands could be \n  executed related to prompt expansion (bsc#1196435).\n- CVE-2019-20044: Fixed a vulnerability where shell privileges would not be\n  properly dropped when unsetting the PRIVILEGED option (bsc#1163882).\n","title":"Description of the patch"},{"category":"details","text":"openSUSE-SLE-15.3-2022-735,openSUSE-SLE-15.4-2022-735","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"self","summary":"URL for openSUSE-SU-2022:0735-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BYQO6XCA5HFPKOF2ANXLGSZGFT63LHPA/"},{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2022_0735-1.json"},{"category":"self","summary":"E-Mail link for openSUSE-SU-2022:0735-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BYQO6XCA5HFPKOF2ANXLGSZGFT63LHPA/"},{"category":"self","summary":"SUSE Bug 1163882","url":"https://bugzilla.suse.com/1163882"},{"category":"self","summary":"SUSE Bug 1196435","url":"https://bugzilla.suse.com/1196435"},{"category":"self","summary":"SUSE CVE CVE-2019-20044 page","url":"https://www.suse.com/security/cve/CVE-2019-20044/"},{"category":"self","summary":"SUSE CVE CVE-2021-45444 page","url":"https://www.suse.com/security/cve/CVE-2021-45444/"}],"title":"Security update for zsh","tracking":{"current_release_date":"2022-03-04T13:50:08Z","generator":{"date":"2022-03-04T13:50:08Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"openSUSE-SU-2022:0735-1","initial_release_date":"2022-03-04T13:50:08Z","revision_history":[{"date":"2022-03-04T13:50:08Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"zsh-5.6-7.5.1.aarch64","product":{"name":"zsh-5.6-7.5.1.aarch64","product_id":"zsh-5.6-7.5.1.aarch64"}},{"category":"product_version","name":"zsh-htmldoc-5.6-7.5.1.aarch64","product":{"name":"zsh-htmldoc-5.6-7.5.1.aarch64","product_id":"zsh-htmldoc-5.6-7.5.1.aarch64"}}],"category":"architecture","name":"aarch64"},{"branches":[{"category":"product_version","name":"zsh-5.6-7.5.1.ppc64le","product":{"name":"zsh-5.6-7.5.1.ppc64le","product_id":"zsh-5.6-7.5.1.ppc64le"}},{"category":"product_version","name":"zsh-htmldoc-5.6-7.5.1.ppc64le","product":{"name":"zsh-htmldoc-5.6-7.5.1.ppc64le","product_id":"zsh-htmldoc-5.6-7.5.1.ppc64le"}}],"category":"architecture","name":"ppc64le"},{"branches":[{"category":"product_version","name":"zsh-5.6-7.5.1.s390x","product":{"name":"zsh-5.6-7.5.1.s390x","product_id":"zsh-5.6-7.5.1.s390x"}},{"category":"product_version","name":"zsh-htmldoc-5.6-7.5.1.s390x","product":{"name":"zsh-htmldoc-5.6-7.5.1.s390x","product_id":"zsh-htmldoc-5.6-7.5.1.s390x"}}],"category":"architecture","name":"s390x"},{"branches":[{"category":"product_version","name":"zsh-5.6-7.5.1.x86_64","product":{"name":"zsh-5.6-7.5.1.x86_64","product_id":"zsh-5.6-7.5.1.x86_64"}},{"category":"product_version","name":"zsh-htmldoc-5.6-7.5.1.x86_64","product":{"name":"zsh-htmldoc-5.6-7.5.1.x86_64","product_id":"zsh-htmldoc-5.6-7.5.1.x86_64"}}],"category":"architecture","name":"x86_64"},{"branches":[{"category":"product_name","name":"openSUSE Leap 15.3","product":{"name":"openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.3"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"zsh-5.6-7.5.1.aarch64 as component of openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3:zsh-5.6-7.5.1.aarch64"},"product_reference":"zsh-5.6-7.5.1.aarch64","relates_to_product_reference":"openSUSE Leap 15.3"},{"category":"default_component_of","full_product_name":{"name":"zsh-5.6-7.5.1.ppc64le as component of openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3:zsh-5.6-7.5.1.ppc64le"},"product_reference":"zsh-5.6-7.5.1.ppc64le","relates_to_product_reference":"openSUSE Leap 15.3"},{"category":"default_component_of","full_product_name":{"name":"zsh-5.6-7.5.1.s390x as component of openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3:zsh-5.6-7.5.1.s390x"},"product_reference":"zsh-5.6-7.5.1.s390x","relates_to_product_reference":"openSUSE Leap 15.3"},{"category":"default_component_of","full_product_name":{"name":"zsh-5.6-7.5.1.x86_64 as component of openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3:zsh-5.6-7.5.1.x86_64"},"product_reference":"zsh-5.6-7.5.1.x86_64","relates_to_product_reference":"openSUSE Leap 15.3"},{"category":"default_component_of","full_product_name":{"name":"zsh-htmldoc-5.6-7.5.1.aarch64 as component of openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.aarch64"},"product_reference":"zsh-htmldoc-5.6-7.5.1.aarch64","relates_to_product_reference":"openSUSE Leap 15.3"},{"category":"default_component_of","full_product_name":{"name":"zsh-htmldoc-5.6-7.5.1.ppc64le as component of openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.ppc64le"},"product_reference":"zsh-htmldoc-5.6-7.5.1.ppc64le","relates_to_product_reference":"openSUSE Leap 15.3"},{"category":"default_component_of","full_product_name":{"name":"zsh-htmldoc-5.6-7.5.1.s390x as component of openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.s390x"},"product_reference":"zsh-htmldoc-5.6-7.5.1.s390x","relates_to_product_reference":"openSUSE Leap 15.3"},{"category":"default_component_of","full_product_name":{"name":"zsh-htmldoc-5.6-7.5.1.x86_64 as component of openSUSE Leap 15.3","product_id":"openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.x86_64"},"product_reference":"zsh-htmldoc-5.6-7.5.1.x86_64","relates_to_product_reference":"openSUSE Leap 15.3"}]},"vulnerabilities":[{"cve":"CVE-2019-20044","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2019-20044"}],"notes":[{"category":"general","text":"In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the original privileges can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid().","title":"Vulnerability description"}],"product_status":{"fixed":["openSUSE Leap 15.3:zsh-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-5.6-7.5.1.x86_64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2019-20044","url":"https://www.suse.com/security/cve/CVE-2019-20044"},{"category":"external","summary":"SUSE Bug 1163882 for CVE-2019-20044","url":"https://bugzilla.suse.com/1163882"},{"category":"external","summary":"SUSE Bug 1200039 for CVE-2019-20044","url":"https://bugzilla.suse.com/1200039"},{"category":"external","summary":"SUSE Bug 1200202 for CVE-2019-20044","url":"https://bugzilla.suse.com/1200202"},{"category":"external","summary":"SUSE Bug 1200209 for CVE-2019-20044","url":"https://bugzilla.suse.com/1200209"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Leap 15.3:zsh-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-5.6-7.5.1.x86_64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":7,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"products":["openSUSE Leap 15.3:zsh-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-5.6-7.5.1.x86_64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.x86_64"]}],"threats":[{"category":"impact","date":"2022-03-04T13:50:08Z","details":"moderate"}],"title":"CVE-2019-20044"},{"cve":"CVE-2021-45444","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2021-45444"}],"notes":[{"category":"general","text":"In zsh before 5.8.1, an attacker can achieve code execution if they control a command output inside the prompt, as demonstrated by a %F argument. This occurs because of recursive PROMPT_SUBST expansion.","title":"Vulnerability description"}],"product_status":{"fixed":["openSUSE Leap 15.3:zsh-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-5.6-7.5.1.x86_64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2021-45444","url":"https://www.suse.com/security/cve/CVE-2021-45444"},{"category":"external","summary":"SUSE Bug 1196435 for CVE-2021-45444","url":"https://bugzilla.suse.com/1196435"},{"category":"external","summary":"SUSE Bug 1199097 for CVE-2021-45444","url":"https://bugzilla.suse.com/1199097"},{"category":"external","summary":"SUSE Bug 1200202 for CVE-2021-45444","url":"https://bugzilla.suse.com/1200202"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Leap 15.3:zsh-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-5.6-7.5.1.x86_64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":7,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"products":["openSUSE Leap 15.3:zsh-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-5.6-7.5.1.x86_64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.aarch64","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.ppc64le","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.s390x","openSUSE Leap 15.3:zsh-htmldoc-5.6-7.5.1.x86_64"]}],"threats":[{"category":"impact","date":"2022-03-04T13:50:08Z","details":"moderate"}],"title":"CVE-2021-45444"}]}