Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2019-20044

Published: 24 February 2020

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

Notes

AuthorNote
mdeslaur
reproducer in debian bug
low priority since upstream considers this to be a
"minor vulnerability"
rodrigo-zaiden
affects versions prior to 5.8, so only xenial and bionic
needed to be patched.

Priority

Low

Cvss 3 Severity Score

7.8

Score breakdown

Status

Package Release Status
zsh
Launchpad, Ubuntu, Debian
bionic
Released (5.4.2-3ubuntu3.2)
eoan Ignored
(end of life)
focal Not vulnerable
(5.8-3ubuntu1)
groovy Not vulnerable
(5.8-3ubuntu1)
hirsute Not vulnerable
(5.8-3ubuntu1)
impish Not vulnerable
(5.8-3ubuntu1)
jammy Needs triage

kinetic Not vulnerable
(5.8-3ubuntu1)
lunar Not vulnerable
(5.8-3ubuntu1)
mantic Not vulnerable
(5.8-3ubuntu1)
trusty Does not exist

upstream
Released (5.8-1)
xenial
Released (5.1.1-1ubuntu2.3+esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
Patches:
upstream: https://sourceforge.net/p/zsh/code/ci/24e993db62cf146fb76ebcf677a4a7aa3766fc74/
upstream: https://sourceforge.net/p/zsh/code/ci/8250c5c168f07549ed646e6848e6dda118271e23/
upstream: https://sourceforge.net/p/zsh/code/ci/26d02efa7a9b0a6b32e1a8bbc6aca6c544b94211/
upstream: https://sourceforge.net/p/zsh/code/ci/4ce66857b71b40a0661df3780ff557f2b0f4cb13/
upstream: https://sourceforge.net/p/zsh/code/ci/b15bd4aa590db8087d1e8f2eb1af2874f5db814d/
upstream: https://sourceforge.net/p/zsh/code/ci/048f40b68b05fdd5f3f8d60cda4e69fce2611331/
upstream: https://sourceforge.net/p/zsh/code/ci/4bec892059cf3e95ab256c3fcbc85daaa648c2d9/

Severity score breakdown

Parameter Value
Base score 7.8
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H