CVE-2019-20044

zsh: insecure dropping of privileges when unsetting PRIVILEGED option

Published Feb 24, 2020 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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().

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2117-1 zsh security update
Debian DLA Debian DLA DLA-2470-1 zsh security update
EUVD EUVD EUVD-2019-10600 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().
Ubuntu USN Ubuntu USN USN-5325-1 Zsh vulnerabilities
History

No history.