CVE-2019-18276 is a privilege escalation vulnerability in GNU Bash through version 5.0 patch 11, affecting products from vendors like GNU, NetApp, and Oracle. The flaw allows an attacker with command execution within the shell to regain dropped privileges by incorrectly handling saved UIDs on systems supporting this functionality. Rated 7.8 HIGH (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), it presents a local attack vector with low complexity, potentially leading to high impact on confidentiality, integrity, and availability. Currently, there is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
<= 5.0CPE matchmatch criteria | cpe:2.3:a:gnu:bash:*:*:*:*:*:*:*:* | ||
5.0CPE matchmatch criteria | cpe:2.3:a:gnu:bash:5.0:beta1:*:*:*:*:*:* | ||
5.0CPE matchmatch criteria | cpe:2.3:a:gnu:bash:5.0:beta2:*:*:*:*:*:* | ||
5.0CPE matchmatch criteria | cpe:2.3:a:gnu:bash:5.0:patch1:*:*:*:*:*:* | ||
5.0CPE matchmatch criteria | cpe:2.3:a:gnu:bash:5.0:patch10:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
CVE-2019-18276
Aug 11, 2020An 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.
Nov 12, 2019bash: when effective UID is not equal to its real UID the saved UID is not dropped
Jul 1, 2019