Skip to content
OpenAdvisories
Medium ALAS2-2018-1089 2 CVEs

Moderate: zsh security update (Amazon Linux 2)

Published Oct 8, 2018 · Updated Oct 10, 2018

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2018-13259: It was discovered that zsh does not properly validate the shebang of input files and it truncates it to the first 64 bytes. A local attacker may use this flaw to make zsh execute a different binary than what is expected, named with a substring of the shebang one. 1626184: CVE-2018-13259 zsh: Improper handling of shebang line longer than 64 CVE-2018-0502: 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. 1626187: CVE-2018-0502 zsh: Improper parsing of the shebang line with special chars

Fixed packages 3

ReleasePackageFixed in
Amazon Linux · 2 zsh 0:5.5.1-2.amzn2.0.1
Amazon Linux · 2 zsh-debuginfo 0:5.5.1-2.amzn2.0.1
Amazon Linux · 2 zsh-html 0:5.5.1-2.amzn2.0.1

Vulnerabilities 2

  • Unscored —

    An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an …

  • Unscored —

    An issue was discovered in zsh before 5.6. Shebang lines exceeding 64 characters were truncated, potentially leading to…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-0502.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-13259.html