CVE-2019-20044Zsh
High 7.8
Follow: this CVE · Zsh · Zsh We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 43
- Auth required
- Yes
- Published
- Feb 24, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-273
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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().
What to do
- Apply the vendor's security update for Zsh.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| zsh | zsh | < 5.8 |
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 31 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| apple | ipados | < 13.5 |
| apple | iphone_os | < 13.5 |
| apple | mac_os_x | < 10.15.5 |
| apple | mac_os_x | ≥ 10.13.0 < 10.13.6 |
| apple | mac_os_x | ≥ 10.14.0 < 10.14.6 |
| apple | mac_os_x | ≥ 10.15 < 10.15.5 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.13.6 |
| apple | mac_os_x | 10.14.6 |
| apple | mac_os_x | 10.14.6 |
| apple | mac_os_x | 10.14.6 |
| apple | mac_os_x | 10.14.6 |
| apple | mac_os_x | 10.14.6 |
| apple | mac_os_x | 10.14.6 |
| apple | mac_os_x | 10.14.6 |
| apple | mac_os_x | 10.14.6 |
| apple | mac_os_x | 10.14.6 |
| apple | tvos | < 13.4.5 |
| apple | watchos | < 6.2.5 |
Official sources
References
Links published by the sources. Open them with care.
- seclists.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- zsh.sourceforge.net Release Notes Third Party Advisory
- github.com Broken Link
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- www.zsh.org Release Notes Vendor Advisory