{"schemaVersion":3,"id":"CVE-2019-18276","aliases":["MGASA-2021-0288","RHSA-2021:1679","UBUNTU-CVE-2019-18276","USN-5380-1","DEBIAN-CVE-2019-18276"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-11-28T00:27:51.000Z","modified":"2026-10-14T06:54:52.201Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02608,"percentile":0.85168,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02608},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02608,"percentile":0.85168}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02608,"percentile":0.85168}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_247955CBFC045552","name":"Exploit Reference (youtube.com)","source":"reference","url":"https://www.youtube.com/watch?v=-wGtxJ8opa8","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_88000A3A64FAA849","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-273","name":"Improper Check for Dropped Privileges","description":"The product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/273.html"}],"affected":[{"vendor":"debian","product":"bash","name":"bash","label":"bash","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bash","purlType":"deb","versions":[{"text":"< 5.1~rc1-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1~rc1-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bash","name":"bash","label":"bash","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bash","purlType":"deb","versions":[{"text":"< 4.3-7ubuntu1.8+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 4.3-14ubuntu1.4+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.4.18-2ubuntu1.3","noFixRecorded":false,"fixedIn":null},{"text":"< 5.0-6ubuntu1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.3-7ubuntu1.8+esm2 | < 4.3-14ubuntu1.4+esm1 | < 4.4.18-2ubuntu1.3 | < 5.0-6ubuntu1.2","eol":null,"hubHref":null},{"vendor":"gnu","product":"bash","name":"bash","label":"bash","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.0","noFixRecorded":false,"fixedIn":null},{"text":"5.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"5.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch1","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch10","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch11","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch2","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch3","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch4","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch5","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch6","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch7","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch8","noFixRecorded":false,"fixedIn":null},{"text":"5.0:patch9","noFixRecorded":false,"fixedIn":null},{"text":"5.0:rc1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.0 | 5.0:beta1 | 5.0:beta2 | 5.0:patch1 | 5.0:patch10 | 5.0:patch11 | 5.0:patch2 | 5.0:patch3 | 5.0:patch4 | 5.0:patch5 | 5.0:patch6 | 5.0:patch7 | 5.0:patch8 | 5.0:patch9 | 5.0:rc1","eol":null,"hubHref":"/vendor/gnu/bash"},{"vendor":"mageia","product":"bash","name":"bash","label":"bash","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/bash","purlType":"rpm","versions":[{"text":"< 4.4-23.1.2.mga7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.4-23.1.2.mga7","eol":null,"hubHref":null},{"vendor":"netapp","product":"hci_management_node","name":"hci management node","label":"hci_management_node","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/hci_management_node"},{"vendor":"netapp","product":"oncommand_unified_manager","name":"oncommand unified manager","label":"oncommand_unified_manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 9.5","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 9.5 (No fix recorded)","eol":null,"hubHref":"/vendor/netapp/oncommand_unified_manager"},{"vendor":"netapp","product":"solidfire","name":"solidfire","label":"solidfire","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/solidfire"},{"vendor":"oracle","product":"communications_cloud_native_core_policy","name":"communications cloud native core policy","label":"communications_cloud_native_core_policy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.14.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.14.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_policy"},{"vendor":"redhat","product":"bash","name":"bash","label":"bash","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/bash","purlType":"rpm","versions":[{"text":"< 0:4.4.19-14.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.4.19-14.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"bash-debuginfo","name":"bash-debuginfo","label":"bash-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/bash-debuginfo","purlType":"rpm","versions":[{"text":"< 0:4.4.19-14.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.4.19-14.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"bash-debugsource","name":"bash-debugsource","label":"bash-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/bash-debugsource","purlType":"rpm","versions":[{"text":"< 0:4.4.19-14.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.4.19-14.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"bash-doc","name":"bash-doc","label":"bash-doc","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/bash-doc","purlType":"rpm","versions":[{"text":"< 0:4.4.19-14.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.4.19-14.el8","eol":null,"hubHref":null}],"affectedCount":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://security.gentoo.org/glsa/202105-34","label":"security.gentoo.org/glsa/202105-34","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","label":"www.oracle.com/security-alerts/cpuapr2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://www.youtube.com/watch?v=-wGtxJ8opa8","label":"www.youtube.com/watch?v=-wGtxJ8opa8","hostname":"www.youtube.com","tags":["X Refsource MISC","REPORT","Exploit","Third Party Advisory"]},{"url":"https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff","label":"github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html","label":"packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://security.netapp.com/advisory/ntap-20200430-0003/","label":"security.netapp.com/advisory/ntap-20200430-0003/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0288.html","label":"advisories.mageia.org/MGASA-2021-0288.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=28937","label":"bugs.mageia.org/show_bug.cgi?id=28937","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://access.redhat.com/errata/RHSA-2021:1679","label":"access.redhat.com/errata/RHSA-2021:1679","hostname":"access.redhat.com","tags":["WEB","Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/","label":"access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1778309","label":"bugzilla.redhat.com/show_bug.cgi?id=1778309","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1890888","label":"bugzilla.redhat.com/show_bug.cgi?id=1890888","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1679.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1679.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-18276","label":"access.redhat.com/security/cve/CVE-2019-18276","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-18276","label":"www.cve.org/CVERecord?id=CVE-2019-18276","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18276","label":"nvd.nist.gov/vuln/detail/CVE-2019-18276","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://ubuntu.com/security/CVE-2019-18276","label":"ubuntu.com/security/CVE-2019-18276","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5380-1","label":"ubuntu.com/security/notices/USN-5380-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-18276","label":"security-tracker.debian.org/tracker/CVE-2019-18276","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-11-28T00:27:51.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T06:54:52.201Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T17:51:29.047Z","stale":false,"partial":false}}