CVE-2019-20044
publishedzsh: insecure dropping of privileges when unsetting PRIVILEGED option
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2020-1439 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | zsh-html | Advisory build | 5.5.1-6.el8_1.2 | ALSA-2020:0903 |
| Alpine Linux | edge | zsh | Fixed | 5.8-r0 | Package fix record |
| Debian | jessie | zsh | Advisory build | 5.0.7-5+deb8u1 | DLA-2117-1 |
| Oracle Linux | 6 | zshi686 | Advisory build | 0:4.3.11-11.el6_10 | ELSA-2020-0892 |
| Red Hat Enterprise Linux | RHEL-6 | zshi686 | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| SUSE / openSUSE | SLE-11-SP3 | zshi586 | Advisory build | 4.3.6-67.9.8.1 | SUSE-SU-2022:14910-1 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.12 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.13 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.14 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.15 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.16 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.17 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.18 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.19 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.20 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.21 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.22 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.23 | zsh | Fixed | 5.8-r0 | Package fix record |
| Alpine Linux | v3.24 | zsh | Fixed | 5.8-r0 | Package fix record |
| Debian | stretch | zsh | Advisory build | 5.3.1-4+deb9u1 | DLA-2470-1 |
| Oracle Linux | 6 | zshx86_64 | Advisory build | 0:4.3.11-11.el6_10 | ELSA-2020-0892 |
| Oracle Linux | 7 | zshaarch64 | Advisory build | 0:5.0.2-34.el7_7.2 | ELSA-2020-0853 |
| Oracle Linux | 7 | zshx86_64 | Advisory build | 0:5.0.2-34.el7_7.2 | ELSA-2020-0853 |
| Oracle Linux | 7 | zsh-htmlaarch64 | Advisory build | 0:5.0.2-34.el7_7.2 | ELSA-2020-0853 |
| Oracle Linux | 7 | zsh-htmlx86_64 | Advisory build | 0:5.0.2-34.el7_7.2 | ELSA-2020-0853 |
| Oracle Linux | 8 | zshaarch64 | Advisory build | 0:5.5.1-6.el8_1.2 | ELSA-2020-0903 |
| Oracle Linux | 8 | zshx86_64 | Advisory build | 0:5.5.1-6.el8_1.2 | ELSA-2020-0903 |
| Oracle Linux | 8 | zsh-htmlaarch64 | Advisory build | 0:5.5.1-6.el8_1.2 | ELSA-2020-0903 |
| Oracle Linux | 8 | zsh-htmlx86_64 | Advisory build | 0:5.5.1-6.el8_1.2 | ELSA-2020-0903 |
| Red Hat Enterprise Linux | RHEL-6 | zshppc64 | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zshs390x | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zshsrc | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zshx86_64 | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zsh-debuginfoi686 | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zsh-debuginfoppc64 | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zsh-debuginfos390x | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zsh-debuginfox86_64 | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zsh-htmli686 | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zsh-htmlppc64 | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zsh-htmls390x | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-6 | zsh-htmlx86_64 | Advisory build | 4.3.11-11.el6_10 | RHSA-2020:0892 |
| Red Hat Enterprise Linux | RHEL-7 | zshppc64 | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zshppc64le | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zshs390x | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zshsrc | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zshx86_64 | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zsh-debuginfoppc64 | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zsh-debuginfoppc64le | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zsh-debuginfos390x | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zsh-debuginfox86_64 | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zsh-htmlppc64 | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zsh-htmlppc64le | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zsh-htmls390x | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-7 | zsh-htmlx86_64 | Advisory build | 5.0.2-34.el7_7.2 | RHSA-2020:0853 |
| Red Hat Enterprise Linux | RHEL-8 | zshaarch64 | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zshppc64le | Advisory build | 5.5.1-6.el8_0.2 | RHSA-2020:0978 |
| Red Hat Enterprise Linux | RHEL-8 | zshppc64le | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zshs390x | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zshsrc | Advisory build | 5.5.1-6.el8_0.2 | RHSA-2020:0978 |
| Red Hat Enterprise Linux | RHEL-8 | zshsrc | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zshx86_64 | Advisory build | 5.5.1-6.el8_0.2 | RHSA-2020:0978 |
| Red Hat Enterprise Linux | RHEL-8 | zshx86_64 | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debuginfoaarch64 | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debuginfoppc64le | Advisory build | 5.5.1-6.el8_0.2 | RHSA-2020:0978 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debuginfoppc64le | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debuginfos390x | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debuginfox86_64 | Advisory build | 5.5.1-6.el8_0.2 | RHSA-2020:0978 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debuginfox86_64 | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debugsourceaarch64 | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debugsourceppc64le | Advisory build | 5.5.1-6.el8_0.2 | RHSA-2020:0978 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debugsourceppc64le | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debugsources390x | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debugsourcex86_64 | Advisory build | 5.5.1-6.el8_0.2 | RHSA-2020:0978 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-debugsourcex86_64 | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-htmlnoarch | Advisory build | 5.5.1-6.el8_0.2 | RHSA-2020:0978 |
| Red Hat Enterprise Linux | RHEL-8 | zsh-htmlnoarch | Advisory build | 5.5.1-6.el8_1.2 | RHSA-2020:0903 |
| SUSE / openSUSE | SLE-11-SP4 | zshi586 | Advisory build | 4.3.6-67.9.8.1 | SUSE-SU-2022:14910-1 |
| SUSE / openSUSE | SLE-11-SP4 | zshppc64 | Advisory build | 4.3.6-67.9.8.1 | SUSE-SU-2022:14910-1 |
| SUSE / openSUSE | SLE-11-SP4 | zshs390x | Advisory build | 4.3.6-67.9.8.1 | SUSE-SU-2022:14910-1 |
| SUSE / openSUSE | SLE-11-SP4 | zshx86_64 | Advisory build | 4.3.6-67.9.8.1 | SUSE-SU-2022:14910-1 |
| SUSE / openSUSE | SLE-12-SP2 | zshx86_64 | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP3 | zshaarch64 | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP3 | zshppc64le | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP3 | zshs390x | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP3 | zshx86_64 | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP4 | zshaarch64 | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP4 | zshppc64le | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP4 | zshs390x | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP4 | zshx86_64 | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP5 | zshaarch64 | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP5 | zshppc64le | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP5 | zshs390x | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-12-SP5 | zshx86_64 | Advisory build | 5.0.5-6.19.1 | SUSE-SU-2022:0733-1 |
| SUSE / openSUSE | SLE-15 | zshaarch64 | Advisory build | 5.6-3.11.1 | SUSE-SU-2022:0732-1 |
| SUSE / openSUSE | SLE-15 | zshppc64le | Advisory build | 5.6-3.11.1 | SUSE-SU-2022:0732-1 |
| SUSE / openSUSE | SLE-15 | zshs390x | Advisory build | 5.6-3.11.1 | SUSE-SU-2022:0732-1 |
| SUSE / openSUSE | SLE-15 | zshx86_64 | Advisory build | 5.6-3.11.1 | SUSE-SU-2022:0732-1 |
| SUSE / openSUSE | SLE-15-SP1 | zshaarch64 | Advisory build | 5.6-7.5.1 | SUSE-SU-2022:0735-1 |
| SUSE / openSUSE | SLE-15-SP1 | zshppc64le | Advisory build | 5.6-7.5.1 | SUSE-SU-2022:0735-1 |
| SUSE / openSUSE | SLE-15-SP1 | zshs390x | Advisory build | 5.6-7.5.1 | SUSE-SU-2022:0735-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
20- 20200529 APPLE-SA-2020-05-26-1 iOS 13.5 and iPadOS 13.5 http://seclists.org/fulldisclosure/2020/May/49
- 20200529 APPLE-SA-2020-05-26-3 macOS Catalina 10.15.5, Security Update 2020-003 Mojave, Security Update 2020-003 High Sierra http://seclists.org/fulldisclosure/2020/May/53
- 20200529 APPLE-SA-2020-05-26-5 watchOS 6.2.5 http://seclists.org/fulldisclosure/2020/May/55
- 20200529 APPLE-SA-2020-05-26-4 tvOS 13.4.5 http://seclists.org/fulldisclosure/2020/May/59
- http://zsh.sourceforge.net/releases.html
- https://github.com/XMB5/zsh-privileged-upgrade
- [debian-lts-announce] 20200302 [SECURITY] [DLA 2117-1] zsh security update https://lists.debian.org/debian-lts-announce/2020/03/msg00004.html
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2470-1] zsh security update https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html
- FEDORA-2020-3f38f3e517 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FP64FFIZI2CKQOEAOI5A72PVQULE7ZZC/
- FEDORA-2020-9009363f0f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PN5V7MPHRRP7QNHOEK56S7QGRU53WUN6/
- GLSA-202003-55 https://security.gentoo.org/glsa/202003-55
- https://support.apple.com/HT211168
- https://support.apple.com/HT211170
- https://support.apple.com/HT211171
- https://support.apple.com/HT211175
- https://support.apple.com/kb/HT211168
- https://support.apple.com/kb/HT211170
- https://support.apple.com/kb/HT211171
- https://support.apple.com/kb/HT211175
- https://www.zsh.org/mla/zsh-announce/141
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8b53ab05917b54921d116c4946ff564d03541e29241250fe2ec09d85863727a0
- Ingested
- 23 Sep 2026, 07:46:40 UTC
- Source record
- Official CVE record