Advisory

UBUNTU-CVE-2018-0502

Also known as: CVE-2018-0502

Summary

The record has no summary.

Details

An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the second line.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2018-09-05 00:00 UTC
Modified
2026-04-22 11:38 UTC

Affected packages and fixes

zsh

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 5.0.2-3ubuntu6.3 (ecosystem)

Fixed versions

5.0.2-3ubuntu6.3

Fix

  • Fixed version 5.0.2-3ubuntu6.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.

zsh

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 5.1.1-1ubuntu2.3 (ecosystem)

Fixed versions

5.1.1-1ubuntu2.3

Fix

  • Fixed version 5.1.1-1ubuntu2.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.

zsh

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 5.4.2-3ubuntu3.1 (ecosystem)

Fixed versions

5.4.2-3ubuntu3.1

Fix

  • Fixed version 5.4.2-3ubuntu3.1
    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