CVE-2019-18276

Summary

CVECVE-2019-18276
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-11-28 01:15:10 UTC
Updated2026-10-14 07:16:50 UTC
DescriptionAn 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1ADPDECLARED7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary7.2AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report