Vulnerabilities · 2019 · Zsh
CVE-2019-20044
Zsh vulnerability
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().
Affected products
Zsh, Fedora, Debian Linux, Ipados, Iphone Os, Mac Os X, Tvos, Watchos. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zsh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.zsh.org/mla/zsh-announce/141 · Vendor Advisory
- seclists.org/fulldisclosure/2020/May/49 · Third Party Advisory
- seclists.org/fulldisclosure/2020/May/53 · Third Party Advisory
- seclists.org/fulldisclosure/2020/May/55 · Third Party Advisory
- seclists.org/fulldisclosure/2020/May/59 · Third Party Advisory
- zsh.sourceforge.net/releases.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/03/msg00004.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/12/msg00000.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-20044
- cve.org/CVERecord?id=CVE-2019-20044
More vulnerabilities in Zsh products
CVE-2021-45444CVE-2018-13259CVE-2018-7549CVE-2018-7548CVE-2018-1100CVE-2018-1083CVE-2018-1071CVE-2018-0502All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.