Back

HIGH

zsh: insecure dropping of privileges when unsetting PRIVILEGED option

Published Feb 24, 2020

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

Remediation

No remediation recorded yet.

Metrics

Weaknesses (2)

References (24)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Feb 24, 2020
Updated Aug 5, 2024
Reserved Dec 27, 2019
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Feb 16, 2020