Skip to content
OpenAdvisories
Unscored SUSE-SU-2022:14910-1 12 CVEs

Security update for zsh

Published Mar 14, 2022 · Updated Feb 4, 2026

Summary

This update for zsh fixes the following issues:

- CVE-2019-20044: Fixed an insecure dropping of privileges when unsetting
the PRIVILEGED option (bsc#1163882).
- CVE-2018-13259: Fixed an unexpected truncation of long shebang lines (bsc#1107294).
- CVE-2018-7549: Fixed a crash when an empty hash table (bsc#1082991).
- CVE-2018-1083: Fixed a stack-based buffer overflow when using tab completion
on directories with long names (bsc#1087026).
- CVE-2018-1071: Fixed a stack-based buffer overflow when executing certain
commands (bsc#1084656).
- CVE-2018-0502: Fixed a mishandling of shebang lines (bsc#1107296).
- CVE-2017-18206: Fixed a buffer overflow related to symlink processing (bsc#1083002).
- CVE-2017-18205: Fixed an application crash when using cd with no
arguments (bsc#1082998).
- CVE-2016-10714: Fixed a potential application crash when handling maximum
length paths (bsc#1083250).
- CVE-2014-10072: Fixed a buffer overflow when scanning very long directory
paths for symbolic links (bsc#1082975).
- CVE-2014-10071: Fixed a buffer overflow when redirecting output to a long
file descriptor (bsc#1082977).
- CVE-2014-10070: Fixed a privilege escalation vulnerability via environment
variables (bsc#1082885).

Fixed packages 2

ReleasePackageFixed in
SUSE · Linux Enterprise Point of Sale 11 SP3 zsh 4.3.6-67.9.8.1
SUSE · SLES 11 SP4 Linux Enterprise Server 11 SP4-LTSS zsh 4.3.6-67.9.8.1

Vulnerabilities 12

  • Unscored —

    zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of…

  • Unscored —

    In exec.c in zsh before 5.0.7, there is a buffer overflow for very long fds in the ">& fd" syntax.

  • Unscored —

    In utils.c in zsh before 5.0.6, there is a buffer overflow when scanning very long directory paths for symbolic links.

  • Unscored —

    In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.

  • Unscored —

    In builtin.c in zsh before 5.4, when sh compatibility mode is used, there is a NULL pointer dereference during processi…

  • Unscored —

    In utils.c in zsh before 5.4, symlink expansion had a buffer overflow.

  • Unscored —

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

  • Unscored —

    zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local atta…

  • Unscored —

    Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality. A local unp…

  • Unscored —

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

  • Unscored —

    In params.c in zsh through 5.4.2, there is a crash during a copy of an empty hash table, as demonstrated by typeset -p.

  • Unscored —

    In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh …

References

  • report
    https://bugzilla.suse.com/1082885
  • report
    https://bugzilla.suse.com/1082975
  • report
    https://bugzilla.suse.com/1082977
  • report
    https://bugzilla.suse.com/1082991
  • report
    https://bugzilla.suse.com/1082998
  • report
    https://bugzilla.suse.com/1083002
  • report
    https://bugzilla.suse.com/1083250
  • report
    https://bugzilla.suse.com/1084656
  • report
    https://bugzilla.suse.com/1087026
  • report
    https://bugzilla.suse.com/1107294
  • report
    https://bugzilla.suse.com/1107296
  • report
    https://bugzilla.suse.com/1163882
  • web
    https://www.suse.com/security/cve/CVE-2014-10070
  • web
    https://www.suse.com/security/cve/CVE-2014-10071
  • web
    https://www.suse.com/security/cve/CVE-2014-10072
  • web
    https://www.suse.com/security/cve/CVE-2016-10714
  • web
    https://www.suse.com/security/cve/CVE-2017-18205
  • web
    https://www.suse.com/security/cve/CVE-2017-18206
  • web
    https://www.suse.com/security/cve/CVE-2018-0502
  • web
    https://www.suse.com/security/cve/CVE-2018-1071
  • web
    https://www.suse.com/security/cve/CVE-2018-1083
  • web
    https://www.suse.com/security/cve/CVE-2018-13259
  • web
    https://www.suse.com/security/cve/CVE-2018-7549
  • web
    https://www.suse.com/security/cve/CVE-2019-20044