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().
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "low", "binaries": [ { "binary_version": "5.1.1-1ubuntu2.3+esm1", "binary_name": "zsh" }, { "binary_version": "5.1.1-1ubuntu2.3+esm1", "binary_name": "zsh-common" }, { "binary_version": "5.1.1-1ubuntu2.3+esm1", "binary_name": "zsh-dbg" }, { "binary_version": "5.1.1-1ubuntu2.3+esm1", "binary_name": "zsh-dbgsym" }, { "binary_version": "5.1.1-1ubuntu2.3+esm1", "binary_name": "zsh-dev" }, { "binary_version": "5.1.1-1ubuntu2.3+esm1", "binary_name": "zsh-doc" }, { "binary_version": "5.1.1-1ubuntu2.3+esm1", "binary_name": "zsh-static" }, { "binary_version": "5.1.1-1ubuntu2.3+esm1", "binary_name": "zsh-static-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "5.4.2-3ubuntu3.2", "binary_name": "zsh" }, { "binary_version": "5.4.2-3ubuntu3.2", "binary_name": "zsh-common" }, { "binary_version": "5.4.2-3ubuntu3.2", "binary_name": "zsh-dbgsym" }, { "binary_version": "5.4.2-3ubuntu3.2", "binary_name": "zsh-dev" }, { "binary_version": "5.4.2-3ubuntu3.2", "binary_name": "zsh-doc" }, { "binary_version": "5.4.2-3ubuntu3.2", "binary_name": "zsh-static" }, { "binary_version": "5.4.2-3ubuntu3.2", "binary_name": "zsh-static-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "5.8-3ubuntu1", "binary_name": "zsh" }, { "binary_version": "5.8-3ubuntu1", "binary_name": "zsh-common" }, { "binary_version": "5.8-3ubuntu1", "binary_name": "zsh-dbgsym" }, { "binary_version": "5.8-3ubuntu1", "binary_name": "zsh-dev" }, { "binary_version": "5.8-3ubuntu1", "binary_name": "zsh-doc" }, { "binary_version": "5.8-3ubuntu1", "binary_name": "zsh-static" }, { "binary_version": "5.8-3ubuntu1", "binary_name": "zsh-static-dbgsym" } ] }