Security mailing lists by PureSourceCode

CVE-2019-18276

HIGH 7.8CVSS 3.1

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.

Published
28 Nov 2019
Last modified
14 Oct 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-273
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gnu bash
cpe:2.3:a:gnu:bash:*:*:*:*:*:*:*:*
<= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:beta1:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:beta2:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch1:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch10:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch11:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch2:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch3:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch4:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch5:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch6:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch7:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch8:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:patch9:*:*:*:*:*:*
= 5.0
NVD gnu bash
cpe:2.3:a:gnu:bash:5.0:rc1:*:*:*:*:*:*
= 5.0
NVD netapp hci_management_node
cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*
(no version)
NVD netapp oncommand_unified_manager
cpe:2.3:a:netapp:oncommand_unified_manager:*:*:*:*:*:vmware_vsphere:*:*
>= 9.5
NVD netapp solidfire
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
(no version)
NVD oracle communications_cloud_native_core_policy
cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*
= 1.14.0

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 28 Nov 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.