CVE-2019-18276 Privilege escalation in n/a

High 7.8 Published Updated

An attacker with shell access can regain privileges via runtime loading of a new builtin due to incorrect privilege dropping in Bash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-18276?

CVE-2019-18276 is a high-severity vulnerability in Netapp Hci Management Node, published on 28 Nov 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-273

Which versions are affected by CVE-2019-18276?

It affects 5 products.

Linux distribution packages (4)
bash Red Hat:enterprise_linux:8::baseosAll versions0:4.4.19-14.el8
bash-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:4.4.19-14.el8
bash-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:4.4.19-14.el8
bash-doc Red Hat:enterprise_linux:8::baseosAll versions0:4.4.19-14.el8

Products include Gnu Bash, Netapp Hci Management Node, Netapp Oncommand Unified Manager, Netapp Solidfire, Oracle Communications Cloud Native Core Policy.

How do I fix CVE-2019-18276?

Apply the vendor's patch.

Is CVE-2019-18276 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-18276 exists.

Public exploit code: 2 proofs of concept on GitHub.

All Netapp Hci Management Node vulnerabilities

Sources

Also known as CLSA-2022-1650909007, CLSA-2022-1650910003, CLSA-2022-1651685129, CLSA-2025-1761326171, DEBIAN-CVE-2019-18276, GHSA-jcxc-5f87-vq5m and 4 more.

Is CVE-2019-18276 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free