Updated: 2024-11-22 05:02:35.767093
Description:
An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. However, it does so incorrectly. On Linux and other systems that support "saved UID" functionality, the saved UID is not dropped. An attacker with command execution in the shell can use "enable -f" for runtime loading of a new builtin, which can be a shared object that calls setuid() and therefore regains privileges. However, binaries running with an effective UID of 0 are unaffected.
Links | NIST | CIRCL | RHEL | Ubuntu |
Severity | Score | |
---|---|---|
CVSS Version 2.x | HIGH | 7.2 |
CVSS Version 3.x | HIGH | 7.8 |
OS name | Project name | Version | Score | Severity | Status | Errata | Last updated | Statement |
---|---|---|---|---|---|---|---|---|
CentOS 6 ELS | bash | 4.1.2 | 7.8 | HIGH | Released | CLSA-2022:1650910003 | 2022-05-05 12:05:31 | |
CentOS 8.4 ELS | bash | 4.4.20 | 7.8 | HIGH | Already Fixed | 2023-10-30 11:21:02 | ||
CentOS 8.5 ELS | bash | 4.4.20 | 7.8 | HIGH | Already Fixed | 2023-10-30 11:21:02 | ||
CloudLinux 6 ELS | bash | 4.1.2 | 7.8 | HIGH | Released | CLSA-2022:1650908958 | 2022-04-25 16:11:14 | |
Oracle Linux 6 ELS | bash | 4.1.2 | 7.8 | HIGH | Released | CLSA-2022:1650909007 | 2022-04-25 16:11:13 | |
Ubuntu 16.04 ELS | bash | 4.3 | 7.8 | HIGH | Released | CLSA-2022:1651685129 | 2022-05-04 15:49:15 |