CVEfocus › CVE database › CVE-2019-20044

CVE-2019-20044

EPSS 0.5% (higher than 42% of CVEs)Published 2020-02-24Updated 2024-08-05Assigner: mitre

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

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
2Fix pending
1Under investigation
1Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04zshNot affected
vulnerable_code_not_present
Ubuntu 25.10zshNot affected
vulnerable_code_not_present
Ubuntu 24.04zshNot affected
vulnerable_code_not_present
Ubuntu 22.04zshUnder investigationUBUNTU-CVE-2019-20044
Ubuntu 20.04zshNot affected
vulnerable_code_not_present
Ubuntu 18.04zshFixed5.4.2-3ubuntu3.2UBUNTU-CVE-2019-20044
Ubuntu 16.04zshFix pending5.1.1-1ubuntu2.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-20044
Ubuntu 14.04zshFix pending
Debian 14zshFixed5.8-1DEBIAN-CVE-2019-20044
Debian 13zshFixed5.8-1DEBIAN-CVE-2019-20044
Debian 12zshFixed5.8-1DEBIAN-CVE-2019-20044
Red Hat Enterprise Linux 8zshFixed0:5.5.1-6.el8_1.2RHSA-2020:0903
Red Hat Enterprise Linux 8zsh-htmlFixed0:5.5.1-6.el8_1.2RHSA-2020:0903
Red Hat Enterprise Linux 7zshFixed0:5.0.2-34.el7_7.2RHSA-2020:0853
Red Hat Enterprise Linux 7zsh-htmlFixed0:5.0.2-34.el7_7.2RHSA-2020:0853
Red Hat Enterprise Linux 6zshFixed0:4.3.11-11.el6_10RHSA-2020:0892
Red Hat Enterprise Linux 6zsh-htmlFixed0:4.3.11-11.el6_10RHSA-2020:0892
Red Hat Enterprise Linux 5zshWill not fix
Out of support scope
AlmaLinux 8zsh-htmlFixed5.5.1-6.el8_1.2ALSA-2020:0903
Rocky Linux 8zshFixed0:5.5.1-6.el8_1.2RLSA-2020:0903
Alpine Linux 3.24zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.23zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.22zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.21zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.20zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.19zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.18zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.17zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.16zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.15zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.14zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.13zshFixed5.8-r0ALPINE-CVE-2019-20044
Alpine Linux 3.12zshFixed5.8-r0ALPINE-CVE-2019-20044

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.