Vulnerability 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().
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Zsh | Zsh | < 5.8 |
| Apple | Macos | - |
| Linux | Linux Kernel | - |
| Fedoraproject | Fedora | 30 |
| Debian | Debian Linux | 8.0 |
| Apple | Ipados | < 13.5 |
| Apple | Iphone Os | < 13.5 |
| Apple | Mac Os X | < 10.15.5 |
| Apple | Tvos | < 13.4.5 |
| Apple | Watchos | < 6.2.5 |
Related Weaknesses (CWE)
References
- http://seclists.org/fulldisclosure/2020/May/49Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2020/May/53Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2020/May/55Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2020/May/59Mailing ListThird Party Advisory
- http://zsh.sourceforge.net/releases.htmlRelease NotesThird Party Advisory
- https://github.com/XMB5/zsh-privileged-upgradeBroken Link
- https://lists.debian.org/debian-lts-announce/2020/03/msg00004.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00000.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- 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
FAQ
What is CVE-2019-20044?
CVE-2019-20044 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 e...
How severe is CVE-2019-20044?
CVE-2019-20044 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-20044?
Check the references section above for vendor advisories and patch information. Affected products include: Zsh Zsh, Apple Macos, Linux Linux Kernel, Fedoraproject Fedora, Debian Debian Linux.