Advisory

DEBIAN-CVE-2019-18276

Also known as: CVE-2019-18276

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2019-11-28 01:15 UTC
Modified
2026-10-15 07:47 UTC

Affected packages and fixes

bash

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 5.1~rc1-2 (ecosystem)

Fixed versions

5.1~rc1-2

Fix

  • Fixed version 5.1~rc1-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bash

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 5.1~rc1-2 (ecosystem)

Fixed versions

5.1~rc1-2

Fix

  • Fixed version 5.1~rc1-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

bash

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 5.1~rc1-2 (ecosystem)

Fixed versions

5.1~rc1-2

Fix

  • Fixed version 5.1~rc1-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences