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",
"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-dev"
},
{
"binary_version": "5.1.1-1ubuntu2.3+esm1",
"binary_name": "zsh-static"
}
]
}
{
"availability": "No subscription required",
"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-dev"
},
{
"binary_version": "5.4.2-3ubuntu3.2",
"binary_name": "zsh-static"
}
]
}