CVEvulnerability

CVE-2019-20044

7.8 HIGH Published 2020-02-24 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-02-24
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
Weaknesses
CWE-273

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 configurations

• zsh zsh (< 5.8) • fedoraproject fedora 30 • fedoraproject fedora 31 • debian debian linux 8.0 • debian debian linux 9.0 • apple ipados (< 13.5) • apple iphone os (< 13.5) • apple mac os x (< 10.15.5) • apple mac os x (>= 10.13.0 < 10.13.6) • apple mac os x (>= 10.14.0 < 10.14.6) • apple mac os x (>= 10.15 < 10.15.5) • apple mac os x 10.13.6 • apple mac os x 10.14.6 • apple tvos (< 13.4.5) • apple watchos (< 6.2.5)

Related

Weakness · CWE (1)

  • CWE-273 Improper Check for Dropped Privileges weakness

References