Advisory

UBUNTU-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-02-04 03:43 UTC

Affected packages and fixes

bash

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 4.4.18-2ubuntu1.3 (ecosystem)

Fixed versions

4.4.18-2ubuntu1.3

Fix

  • Fixed version 4.4.18-2ubuntu1.3
    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) · Ubuntu 20.04

Affected

  • introduced 0, fixed 5.0-6ubuntu1.2 (ecosystem)

Fixed versions

5.0-6ubuntu1.2

Fix

  • Fixed version 5.0-6ubuntu1.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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences