CVE-2019-18276
Summary
| CVE | CVE-2019-18276 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2019-11-28 01:15:10 UTC |
| Updated | 2026-10-14 07:16:50 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-273 | n/a | CWE-273 CWE-273 Improper Check for Dropped Privileges
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | ADP | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
LowAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:L/AC:L/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Gnu | Bash | 5.0 | beta1 | All | All |
| Application | Gnu | Bash | 5.0 | beta2 | All | All |
| Application | Gnu | Bash | 5.0 | patch1 | All | All |
| Application | Gnu | Bash | 5.0 | patch10 | All | All |
| Application | Gnu | Bash | 5.0 | patch11 | All | All |
| Application | Gnu | Bash | 5.0 | patch2 | All | All |
| Application | Gnu | Bash | 5.0 | patch3 | All | All |
| Application | Gnu | Bash | 5.0 | patch4 | All | All |
| Application | Gnu | Bash | 5.0 | patch5 | All | All |
| Application | Gnu | Bash | 5.0 | patch6 | All | All |
| Application | Gnu | Bash | 5.0 | patch7 | All | All |
| Application | Gnu | Bash | 5.0 | patch8 | All | All |
| Application | Gnu | Bash | 5.0 | patch9 | All | All |
| Application | Gnu | Bash | 5.0 | rc1 | All | All |
| Application | Gnu | Bash | All | All | All | All |
| Application | Netapp | Hci Management Node | - | All | All | All |
| Application | Netapp | Oncommand Unified Manager | All | All | All | All |
| Application | Netapp | Solidfire | - | All | All | All |
| Application | Oracle | Communications Cloud Native Core Policy | 1.14.0 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | N/a | affected n/a | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| Oracle Critical Patch Update Advisory - April 2022 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| Zero-day vulnerability in Bash - Suidbash Google CTF Finals 2019 (pwn) - YouTube | af854a3a-2127-422b-91ae-364da2661108 | www.youtube.com | Exploit, Third Party Advisory |
| Bash 5.0 Patch 11 Privilege Escalation ≈ Packet Storm | af854a3a-2127-422b-91ae-364da2661108 | packetstormsecurity.com | Exploit, Third Party Advisory, VDB Entry |
| Bash: Privilege escalation (GLSA 202105-34) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| commit bash-20190628 snapshot · bminor/bash@951bdaa · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685a... | af854a3a-2127-422b-91ae-364da2661108 | lists.apache.org | |
| CVE-2019-18276 GNU Bash Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| Pony Mail! | MITRE | lists.apache.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 159204 Oracle Enterprise Linux Security Update for bash (ELSA-2021-1679)
- 198748 Ubuntu Security Notification for Bash Vulnerability (USN-5380-1)
- 239319 Red Hat Update for bash (RHSA-2021:1679)
- 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
- 710080 Gentoo Linux Bash Privilege escalation (GLSA 202105-34)
- 900091 CBL-Mariner Linux Security Update for bash 4.4.18
- 903014 Common Base Linux Mariner (CBL-Mariner) Security Update for bash (1908)
- 906213 Common Base Linux Mariner (CBL-Mariner) Security Update for bash (1908-1)