Input validation error in Bash - CVE-2019-9924

 

Input validation error in Bash - CVE-2019-9924

Published: October 15, 2019


Vulnerability identifier: #VU21785
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-9924
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to "rbash" does not prevent the shell user from modifying BASH_CMDS. A local authenticate user can execute any command with the permissions of the shell.


Affected software

Bash
Amazon Linux AMI
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Opensuse
bash (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
IBM Qradar SIEM
PowerScale OneFS
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
XtremIO XMS
Dell PowerProtect Cyber Recovery

How to mitigate CVE-2019-9924

Install updates from vendor's website.

Bash - update to 4.4 beta2
bash (Red Hat package) - addressed in versions 4.2.46-30.el7_4, 4.2.46-32.el7_6, 4.2.46-34.el7, 4.2.46-34.el7_7
IBM Qradar SIEM - addressed in versions 7.3.3 Fix Pack 10, 7.4.3 Fix Pack 3, 7.4.3 Fix Pack 4
PowerScale OneFS - addressed in versions 9.1.0.21, 9.2.1.14, 9.3.0.7, 9.4.0.4
Dell EMC Unity VSA Operating Environment (OE) - update to 5.0.0.0.5.116
Dell EMC Unity Operating Environment (OE) - update to 5.0.0.0.5.116
XtremIO XMS - update to 6.3.0
Dell PowerProtect Cyber Recovery - update to 18.1.1.2-8

External References

Related Security Bulletins