CVE-2019-20044

High

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

SeverityHigh
CVSS7.8
Exploit probability—
ProductZsh
PublishedFeb 24, 2020
First seenFeb 24, 2020

How to fix

Update
  • zsh zsh5.8 or later
  • apple ipados13.5 or later
  • apple iphone_os13.5 or later
  • apple mac_os_x10.15.5, 10.13.6, 10.14.6 or later
  • apple tvos13.4.5 or later
  • apple watchos6.2.5 or later

Affected products

ProductAffected versionsFixed in
zsh zshv < 5.85.8
fedoraproject fedora30, 31—
debian debian_linux8.0, 9.0—
apple ipadosv < 13.513.5
apple iphone_osv < 13.513.5
apple mac_os_xv < 10.15.5, 10.13.0 ≤ v < 10.13.6, 10.14.0 ≤ v < 10.14.6, 10.15 ≤ v < 10.15.5, 10.13.6, 10.14.610.15.5, 10.13.6, 10.14.6
apple tvosv < 13.4.513.4.5
apple watchosv < 6.2.56.2.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.