cve.bz

CVE-2019-20044 Improper Check for Dropped Privileges

7.8 highEPSS 0.5%

High (7.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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().

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-273 Improper Check for Dropped Privileges
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-20044 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-20044?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-20044?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-20044 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
zsh:zshbefore 5.8
fedoraproject:fedora30
fedoraproject:fedora31
debian:debian_linux8.0
debian:debian_linux9.0
apple:ipadosbefore 13.5
apple:iphone_osbefore 13.5
apple:mac_os_xbefore 10.15.5
apple:mac_os_xfrom 10.13.0 before 10.13.6
apple:mac_os_xfrom 10.14.0 before 10.14.6
apple:mac_os_xfrom 10.15 before 10.15.5
apple:mac_os_x10.13.6
apple:mac_os_x10.13.6:security_update_2018-002
apple:mac_os_x10.13.6:security_update_2018-003
apple:mac_os_x10.13.6:security_update_2019-001
apple:mac_os_x10.13.6:security_update_2019-002
apple:mac_os_x10.13.6:security_update_2019-003
apple:mac_os_x10.13.6:security_update_2019-004
apple:mac_os_x10.13.6:security_update_2019-005
apple:mac_os_x10.13.6:security_update_2019-006
apple:mac_os_x10.13.6:security_update_2019-007
apple:mac_os_x10.13.6:security_update_2020-001
apple:mac_os_x10.13.6:security_update_2020-002
apple:mac_os_x10.14.6
apple:mac_os_x10.14.6:security_update_2019-001
apple:mac_os_x10.14.6:security_update_2019-002
apple:mac_os_x10.14.6:security_update_2019-004
apple:mac_os_x10.14.6:security_update_2019-005
apple:mac_os_x10.14.6:security_update_2019-006
apple:mac_os_x10.14.6:security_update_2019-007
apple:mac_os_x10.14.6:security_update_2020-001
apple:mac_os_x10.14.6:security_update_2020-002
apple:tvosbefore 13.4.5
apple:watchosbefore 6.2.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8zsh5.0.7-5+deb8u1DLA-2117-1
Debian9zsh5.3.1-4+deb9u1DLA-2470-1
Debian12, 13, 14zsh5.8-1DEBIAN-CVE-2019-20044
Ubuntu18.04:LTSzsh5.4.2-3ubuntu3.2UBUNTU-CVE-2019-20044 USN-5325-1
Ubuntu20.04:LTSzsh5.8-3ubuntu1.1USN-5325-1
Ubuntu22.04:LTSzshno fix listedUBUNTU-CVE-2019-20044
UbuntuPro:16.04:LTSzsh5.1.1-1ubuntu2.3+esm1UBUNTU-CVE-2019-20044 USN-5325-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morezsh, zsh-html, zsh-debuginfo0:4.3.11-11.el6_10RHSA-2020:0892
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morezsh, zsh-html, zsh-debuginfo0:5.0.2-34.el7_7.2RHSA-2020:0853
Red Hatenterprise_linux:8::appstreamzsh-html0:5.5.1-6.el8_1.2RHSA-2020:0903
Red Hatenterprise_linux:8::baseoszsh, zsh-debuginfo, zsh-debugsource0:5.5.1-6.el8_1.2RHSA-2020:0903
Red Hatrhel_e4s:8.0::appstreamzsh-html0:5.5.1-6.el8_0.2RHSA-2020:0978
Red Hatrhel_e4s:8.0::baseoszsh, zsh-debuginfo, zsh-debugsource0:5.5.1-6.el8_0.2RHSA-2020:0978
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 14 morezsh5.6-7.5.1SUSE-SU-2022:0735-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 morezsh5.0.5-6.19.1SUSE-SU-2022:0733-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morezsh5.6-3.11.1SUSE-SU-2022:0732-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSzsh4.3.6-67.9.8.1SUSE-SU-2022:14910-1
openSUSELeap 15.3zsh5.6-7.5.1openSUSE-SU-2022:0735-1
openSUSETumbleweedzsh5.8-7.7openSUSE-SU-2024:11543-1
AlmaLinux8zsh-html5.5.1-6.el8_1.2ALSA-2020:0903
Rocky Linux8zsh0:5.5.1-6.el8_1.2RLSA-2020:0903
Alpinev3.12, v3.13, v3.14 and 10 morezsh5.8-r0ALPINE-CVE-2019-20044

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6zsh-0:4.3.11-11.el6_10Fixed 2020-03-18RHSA-2020:0892
Red Hat Enterprise Linux 7zsh-0:5.0.2-34.el7_7.2Fixed 2020-03-17RHSA-2020:0853
Red Hat Enterprise Linux 8zsh-0:5.5.1-6.el8_1.2Fixed 2020-03-19RHSA-2020:0903
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionszsh-0:5.5.1-6.el8_0.2Fixed 2020-03-26RHSA-2020:0978
Red Hat Enterprise Linux 5zshOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-20044.

References

Check your stackJSON