bash: BASH_CMD is writable in restricted bash shells
Published Mar 22, 2019
7.8
HIGHCVSS 3.1
EPSS 0.40%
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.
Affected products
No data.
Configuration 2
- 8.0
Configuration 4
- n/a
- n/a
Configuration 5
- 12.04
- 14.04
- 16.04
No data.
Red Hat Ansible Tower 3.5 for RHEL 7
ansible-tower-35/ansible-tower:3.5.6-1
Fixed · RHBA-2020:1539
Red Hat Ansible Tower 3.6 for RHEL 7
ansible-tower-36/ansible-tower:3.6.4-1
Fixed · RHBA-2020:1540
Red Hat Enterprise Linux 7
bash-0:4.2.46-34.el7
Fixed · RHSA-2020:1113
Red Hat Enterprise Linux 7.4 Advanced Update Support
bash-0:4.2.46-30.el7_4
Fixed · RHSA-2020:3803
Red Hat Enterprise Linux 7.4 Telco Extended Update Support
bash-0:4.2.46-30.el7_4
Fixed · RHSA-2020:3803
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions
bash-0:4.2.46-30.el7_4
Fixed · RHSA-2020:3803
Red Hat Enterprise Linux 7.6 Extended Update Support
bash-0:4.2.46-32.el7_6
Fixed · RHSA-2020:3474
Red Hat Enterprise Linux 7.7 Extended Update Support
bash-0:4.2.46-34.el7_7
Fixed · RHSA-2020:3592
Red Hat Enterprise Linux 5
bash
Not affected
Red Hat Enterprise Linux 6
bash
Will not fix
Red Hat Enterprise Linux 8
bash
Not affected
Red Hat Virtualization 4
redhat-virtualization-host
Will not fix
Red Hat Virtualization 4
rhvm-appliance
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Tower 3.5 for RHEL 7 | ansible-tower-35/ansible-tower:3.5.6-1 | Fixed | RHBA-2020:1539 |
| Red Hat Ansible Tower 3.6 for RHEL 7 | ansible-tower-36/ansible-tower:3.6.4-1 | Fixed | RHBA-2020:1540 |
| Red Hat Enterprise Linux 7 | bash-0:4.2.46-34.el7 | Fixed | RHSA-2020:1113 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | bash-0:4.2.46-30.el7_4 | Fixed | RHSA-2020:3803 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | bash-0:4.2.46-30.el7_4 | Fixed | RHSA-2020:3803 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | bash-0:4.2.46-30.el7_4 | Fixed | RHSA-2020:3803 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | bash-0:4.2.46-32.el7_6 | Fixed | RHSA-2020:3474 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | bash-0:4.2.46-34.el7_7 | Fixed | RHSA-2020:3592 |
| Red Hat Enterprise Linux 5 | bash | Not affected | n/a |
| Red Hat Enterprise Linux 6 | bash | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | bash | Not affected | n/a |
| Red Hat Virtualization 4 | redhat-virtualization-host | Will not fix | n/a |
| Red Hat Virtualization 4 | rhvm-appliance | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Impact of the flaw set to Moderate as restricted shell shall not be used as a security feature alone, as it is very hard to configure it properly and several bypasses exist for it. This issue did not affect the versions of bash as shipped with Red Hat Enterprise Linux 5 as they did not include support for BASH_CMDS environment variable. Red Hat Virtualization Hypervisor and Management Appliance were affected by this issue, but do not use the restricted bash shell in a way that would be exposed to attackers. Future updates may address this issue.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.40% (0.00399) | 31.71th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.41% (0.00415) | 32.97th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.23% (0.00231) | 43.05th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.36% (0.04363) | 81.23th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.55% (0.00552) | 66.06th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.06% (0.00063) | 29.60th | v3 (v2023.03.01) |
| Jun 21, 2024 | 0.06% (0.00063) | 27.61th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.06% (0.00063) | 25.60th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00045) | 12.06th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.03% (0.01034) | 39.91th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.03% (0.01034) | 37.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.09% (0.03090) | 64.78th | v2 (v2022.01.01) |
| Feb 3, 2022 | 7.04% (0.07038) | 83.71th | v1 |
| Jan 6, 2022 | 7.04% (0.07038) | 83.55th | v1 |
| Sep 1, 2021 | 1.66% (0.01659) | 73.96th | v1 |
| Apr 14, 2021 | 1.66% (0.01659) | 0.00th | v1 |
References (11)
- http://git.savannah.gnu.org/cgit/bash.git/tree/CHANGES?h=bash-4.4-testing#n65 x_refsource_MISCVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00049.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-9924 Vendor Advisory
- https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1803441 x_refsource_MISCIssue TrackingThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1691774 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2019/03/msg00028.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-9924
- https://security.netapp.com/advisory/ntap-20190411-0001/ x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/4058-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/4058-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-9924
| Link | Providers | Tags |
|---|---|---|
| http://git.savannah.gnu.org/cgit/bash.git/tree/CHANGES?h=bash-4.4-testing#n65 | x_refsource_MISCVendor Advisory | |
| http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00049.html | vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2019-9924 | Vendor Advisory | |
| https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1803441 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1691774 | Issue Tracking | |
| https://lists.debian.org/debian-lts-announce/2019/03/msg00028.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-9924 | ||
| https://security.netapp.com/advisory/ntap-20190411-0001/ | x_refsource_CONFIRMThird Party Advisory | |
| https://usn.ubuntu.com/4058-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://usn.ubuntu.com/4058-2/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2019-9924 |
Change history (0)
No recorded changes yet.