CVE-2019-9924 Security feature bypass in n/a

High 7.8 Published Updated

Attackers can bypass rbash restrictions by modifying BASH_CMDS to execute arbitrary commands with shell permissions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-9924?

CVE-2019-9924 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 22 Mar 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-862

Which versions are affected by CVE-2019-9924?

It affects 6 products.

Linux distribution packages (40)
bash Red Hat:enterprise_linux:7::clientAll versions0:4.2.46-34.el7
bash-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:4.2.46-34.el7
bash-doc Red Hat:enterprise_linux:7::clientAll versions0:4.2.46-34.el7
bash Red Hat:enterprise_linux:7::computenodeAll versions0:4.2.46-34.el7
bash-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:4.2.46-34.el7
bash-doc Red Hat:enterprise_linux:7::computenodeAll versions0:4.2.46-34.el7
bash Red Hat:enterprise_linux:7::serverAll versions0:4.2.46-34.el7
bash-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:4.2.46-34.el7
bash-doc Red Hat:enterprise_linux:7::serverAll versions0:4.2.46-34.el7
bash Red Hat:enterprise_linux:7::workstationAll versions0:4.2.46-34.el7
bash-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:4.2.46-34.el7
bash-doc Red Hat:enterprise_linux:7::workstationAll versions0:4.2.46-34.el7
bash Red Hat:rhel_aus:7.4::serverAll versions0:4.2.46-30.el7_4
bash-debuginfo Red Hat:rhel_aus:7.4::serverAll versions0:4.2.46-30.el7_4
bash-doc Red Hat:rhel_aus:7.4::serverAll versions0:4.2.46-30.el7_4
bash Red Hat:rhel_e4s:7.4::serverAll versions0:4.2.46-30.el7_4
bash-debuginfo Red Hat:rhel_e4s:7.4::serverAll versions0:4.2.46-30.el7_4
bash-doc Red Hat:rhel_e4s:7.4::serverAll versions0:4.2.46-30.el7_4
bash Red Hat:rhel_eus:7.6::computenodeAll versions0:4.2.46-32.el7_6
bash-debuginfo Red Hat:rhel_eus:7.6::computenodeAll versions0:4.2.46-32.el7_6
bash-doc Red Hat:rhel_eus:7.6::computenodeAll versions0:4.2.46-32.el7_6
bash Red Hat:rhel_eus:7.6::serverAll versions0:4.2.46-32.el7_6
bash-debuginfo Red Hat:rhel_eus:7.6::serverAll versions0:4.2.46-32.el7_6
bash-doc Red Hat:rhel_eus:7.6::serverAll versions0:4.2.46-32.el7_6
bash Red Hat:rhel_eus:7.7::computenodeAll versions0:4.2.46-34.el7_7
bash-debuginfo Red Hat:rhel_eus:7.7::computenodeAll versions0:4.2.46-34.el7_7
bash-doc Red Hat:rhel_eus:7.7::computenodeAll versions0:4.2.46-34.el7_7
bash Red Hat:rhel_eus:7.7::serverAll versions0:4.2.46-34.el7_7
bash-debuginfo Red Hat:rhel_eus:7.7::serverAll versions0:4.2.46-34.el7_7
bash-doc Red Hat:rhel_eus:7.7::serverAll versions0:4.2.46-34.el7_7
bash Red Hat:rhel_tus:7.4::serverAll versions0:4.2.46-30.el7_4
bash-debuginfo Red Hat:rhel_tus:7.4::serverAll versions0:4.2.46-30.el7_4
bash-doc Red Hat:rhel_tus:7.4::serverAll versions0:4.2.46-30.el7_4
bash SUSE:Enterprise Storage 4All versions4.3-83.23.1
bash SUSE:Linux Enterprise Desktop 12 SP3All versions4.3-83.23.1
bash SUSE:Linux Enterprise Desktop 12 SP4All versions4.3-83.23.1
bash SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions4.2-83.3.1
bash SUSE:Linux Enterprise Server 12 SP2-BCLAll versions4.3-83.23.1
bash SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions4.3-83.23.1
bash SUSE:Linux Enterprise Server 12 SP3All versions4.3-83.23.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Gnu Bash, Netapp Hci Management Node, Netapp Solidfire, Opensuse Leap.

How do I fix CVE-2019-9924?

Upgrade to a fixed version.

Is CVE-2019-9924 being exploited?

There is no known exploitation of CVE-2019-9924 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CLSA-2026-1777367927, CLSA-2026-1777446568, DEBIAN-CVE-2019-9924, GHSA-56xr-5j9v-w2wh, MGASA-2019-0163, RHSA-2020:1113 and 9 more.

Is CVE-2019-9924 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free