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

Analysis

No analysis available yet

Remediation

No remediation available yet

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.

Weaknesses
  • CWE-271

    Privilege Dropping / Lowering Errors

  • CWE-273

    Improper Check for Dropped Privileges

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 2:32 AM
Reserved
Dec 27, 2019, 12:00 AM
Status
Modified
Published
Feb 24, 2020, 2:15 PM
Modified
Jun 17, 2026, 2:29 AM
Severity
Important
Public date
Feb 16, 2020, 12:00 AM