CVE-2019-20044 Privilege escalation in n/a

High 7.8 Published Updated

Attackers with command execution can regain dropped privileges in Zsh by loading a malicious module, bypassing the --no-PRIVILEGED security feature.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-20044?

CVE-2019-20044 is a high-severity vulnerability in Apple Ipados, published on 24 Feb 2020. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-273

Which versions are affected by CVE-2019-20044?

It affects 8 products.

Linux distribution packages (34)
zsh-html AlmaLinux:8All versions5.5.1-6.el8_1.2
zsh Red Hat:enterprise_linux:6::clientAll versions0:4.3.11-11.el6_10
zsh-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:4.3.11-11.el6_10
zsh-html Red Hat:enterprise_linux:6::clientAll versions0:4.3.11-11.el6_10
zsh Red Hat:enterprise_linux:6::computenodeAll versions0:4.3.11-11.el6_10
zsh-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:4.3.11-11.el6_10
zsh-html Red Hat:enterprise_linux:6::computenodeAll versions0:4.3.11-11.el6_10
zsh Red Hat:enterprise_linux:6::serverAll versions0:4.3.11-11.el6_10
zsh-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:4.3.11-11.el6_10
zsh-html Red Hat:enterprise_linux:6::serverAll versions0:4.3.11-11.el6_10
zsh Red Hat:enterprise_linux:6::workstationAll versions0:4.3.11-11.el6_10
zsh-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:4.3.11-11.el6_10
zsh-html Red Hat:enterprise_linux:6::workstationAll versions0:4.3.11-11.el6_10
zsh Red Hat:enterprise_linux:7::clientAll versions0:5.0.2-34.el7_7.2
zsh-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:5.0.2-34.el7_7.2
zsh-html Red Hat:enterprise_linux:7::clientAll versions0:5.0.2-34.el7_7.2
zsh Red Hat:enterprise_linux:7::computenodeAll versions0:5.0.2-34.el7_7.2
zsh-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:5.0.2-34.el7_7.2
zsh-html Red Hat:enterprise_linux:7::computenodeAll versions0:5.0.2-34.el7_7.2
zsh Red Hat:enterprise_linux:7::serverAll versions0:5.0.2-34.el7_7.2
zsh-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:5.0.2-34.el7_7.2
zsh-html Red Hat:enterprise_linux:7::serverAll versions0:5.0.2-34.el7_7.2
zsh Red Hat:enterprise_linux:7::workstationAll versions0:5.0.2-34.el7_7.2
zsh-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:5.0.2-34.el7_7.2
zsh-html Red Hat:enterprise_linux:7::workstationAll versions0:5.0.2-34.el7_7.2
zsh-html Red Hat:enterprise_linux:8::appstreamAll versions0:5.5.1-6.el8_1.2
zsh Red Hat:enterprise_linux:8::baseosAll versions0:5.5.1-6.el8_1.2
zsh-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:5.5.1-6.el8_1.2
zsh-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:5.5.1-6.el8_1.2
zsh-html Red Hat:rhel_e4s:8.0::appstreamAll versions0:5.5.1-6.el8_0.2
zsh Red Hat:rhel_e4s:8.0::baseosAll versions0:5.5.1-6.el8_0.2
zsh-debuginfo Red Hat:rhel_e4s:8.0::baseosAll versions0:5.5.1-6.el8_0.2
zsh-debugsource Red Hat:rhel_e4s:8.0::baseosAll versions0:5.5.1-6.el8_0.2
zsh Rocky Linux:8All versions0:5.5.1-6.el8_1.2

Products include Apple Ipados, Apple Iphone Os, Apple Mac Os X, Apple Tvos, Apple Watchos, Debian Debian Linux and 2 more.

How do I fix CVE-2019-20044?

Upgrade to a fixed version.

Is CVE-2019-20044 being exploited?

There is no known exploitation of CVE-2019-20044 in the wild and no public exploit code.

All Apple Ipados vulnerabilities

Sources

Also known as ALPINE-CVE-2019-20044, ALSA-2020:0903, CLSA-2025-1761673667, DEBIAN-CVE-2019-20044, DLA-2117-1, GHSA-gwf9-995r-26hx and 7 more.

Is CVE-2019-20044 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free