USN-3764-1: Zsh vulnerabilities

11 September 2018

zsh vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 18.04 LTS
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS

Summary

Zsh could be made to execute arbitrary code if it received a specially crafted script.

Software Description

  • zsh - shell with lots of features

Details

It was discovered that Zsh incorrectly handled certain scripts. An attacker could possibly use this issue to execute arbitrary code. (CVE-2018-0502, CVE-2018-13259)

Richard Maciel Costa discovered that Zsh incorrectly handled certain scripts. An attacker could possibly use this issue to execute arbitrary code. (CVE-2018-1100)

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 18.04 LTS
zsh - 5.4.2-3ubuntu3.1
Ubuntu 16.04 LTS
zsh - 5.1.1-1ubuntu2.3
Ubuntu 14.04 LTS
zsh - 5.0.2-3ubuntu6.3

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

After a standard system update you need to restart Zsh to make all the necessary changes.

References