VDB

CVE-2019-20044

CVE-2019-20044 PUBLISHED

Reported by mitre · Published February 24, 2020

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
zshAlpine5.8-r0
zsh-htmlAmazon Linux5.7.1-6.amzn2.0.1
watchosapple6.2.5
iphone_osapple13.5

Affected products

VendorProductVersions
n/an/an/a
alpinezsh0
amazon:2zsh-html0
n/an/a*
amazon:2zsh0

Timeline

  • Feb 24, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (9 in total, the first dated here)
  • Sep 12, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-20044
vulnetix vdb fixes CVE-2019-20044

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-20044/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›