What’s Vulnerable › Vulnerabilities

CVE-2019-20044

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

Affected products

How to fix

Upgrade to a fixed version: Apple iPadOS 13.5; Apple Iphone Os 13.5; macOS 10.13.6, 10.14.6, 10.15.5; Apple tvOS 13.4.5; Apple watchOS 6.2.5; zsh 5.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2019-20044 or the next vulnerability affects your stack