Versions mentioned in the description apply to the upstream
Remediation section below for
Debian:10 relevant versions.
rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of the shell.
bash to version 4.4-1 or higher.