VulnerabilityModified
CVE-2019-20044
In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option.
HIGH 7.8EPSS 0.50%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.50%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.50% probability · 41th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-273
- Affected
- zsh/zsh · fedoraproject/fedora · debian/debian linux · apple/ipados · apple/iphone os · apple/mac os x · apple/tvos · apple/watchos
- Source
- cve@mitre.org
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/
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.