CVE-2019-9924: rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user
41
This month
HIGH 7.8WATCHLISTUPGRADEMITIGATEMITIGATE
CVE-2019-9924 is a high-severity flaw (CVSS 7.8) affecting bash, debian linux, leap. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
canonical ubuntu linux MITIGATE
Affected: 12.04 · 14.04 · 16.04
Fixed in: no fixed release known
Safe to downgrade to: a release before 12.04
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-9924?
bash: upgrade to 4.4; debian linux: mitigate or apply the listed mitigation; leap: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2019-9924 being exploited?
CVE-2019-9924 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-9924 affect?
CVE-2019-9924 affects bash, debian linux, leap. Severity is high (CVSS 7.8). 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.