Live threats

All CVEs / Zsh

CVE-2019-20044Zsh

High 7.8

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().

Original NVD text.

What to do

  1. Apply the vendor's security update for Zsh.

Affected products (CPE)

VendorProductVersions
zshzsh< 5.8
fedoraprojectfedora30
fedoraprojectfedora31
debiandebian_linux8.0
debiandebian_linux9.0
appleipados< 13.5
appleiphone_os< 13.5
applemac_os_x< 10.15.5
applemac_os_x≥ 10.13.0 < 10.13.6
applemac_os_x≥ 10.14.0 < 10.14.6
applemac_os_x≥ 10.15 < 10.15.5
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.13.6
applemac_os_x10.14.6
applemac_os_x10.14.6
applemac_os_x10.14.6
applemac_os_x10.14.6
applemac_os_x10.14.6
applemac_os_x10.14.6
applemac_os_x10.14.6
applemac_os_x10.14.6
applemac_os_x10.14.6
appletvos< 13.4.5
applewatchos< 6.2.5

Official sources

References

Links published by the sources. Open them with care.