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().
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://seclists.org/fulldisclosure/2020/May/49Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2020/May/53Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2020/May/55Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2020/May/59Mailing List, Third Party Advisory
- http://zsh.sourceforge.net/releases.htmlRelease Notes, Third Party Advisory
- https://github.com/XMB5/zsh-privileged-upgradeBroken Link
- https://lists.debian.org/debian-lts-announce/2020/03/msg00004.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00000.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FP64FFIZI2CKQOEAOI5A72PVQULE7ZZC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PN5V7MPHRRP7QNHOEK56S7QGRU53WUN6/
- https://security.gentoo.org/glsa/202003-55Third Party Advisory
- https://support.apple.com/HT211168Third Party Advisory
- https://support.apple.com/HT211170Third Party Advisory
- https://support.apple.com/HT211171Third Party Advisory
- https://support.apple.com/HT211175Third Party Advisory
- https://support.apple.com/kb/HT211168Third Party Advisory
- https://support.apple.com/kb/HT211170Third Party Advisory
- https://support.apple.com/kb/HT211171Third Party Advisory
- https://support.apple.com/kb/HT211175Third Party Advisory
- https://www.zsh.org/mla/zsh-announce/141Release Notes, Vendor Advisory
- http://seclists.org/fulldisclosure/2020/May/49Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2020/May/53Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2020/May/55Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2020/May/59Mailing List, Third Party Advisory
- http://zsh.sourceforge.net/releases.htmlRelease Notes, Third Party Advisory
- https://github.com/XMB5/zsh-privileged-upgradeBroken Link
- https://lists.debian.org/debian-lts-announce/2020/03/msg00004.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00000.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FP64FFIZI2CKQOEAOI5A72PVQULE7ZZC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PN5V7MPHRRP7QNHOEK56S7QGRU53WUN6/
- https://security.gentoo.org/glsa/202003-55Third Party Advisory
- https://support.apple.com/HT211168Third Party Advisory
- https://support.apple.com/HT211170Third Party Advisory
- https://support.apple.com/HT211171Third Party Advisory
- https://support.apple.com/HT211175Third Party Advisory
- https://support.apple.com/kb/HT211168Third Party Advisory
- https://support.apple.com/kb/HT211170Third Party Advisory
- https://support.apple.com/kb/HT211171Third Party Advisory
- https://support.apple.com/kb/HT211175Third Party Advisory
- https://www.zsh.org/mla/zsh-announce/141Release Notes, Vendor Advisory
Timeline
- Published
- Feb 24, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified