Access Restriction Bypass Affecting zsh package, versions <5.0.7-3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-ZSH-5701911
  • published27 Feb 2018
  • disclosed27 Feb 2018

Introduced: 27 Feb 2018

CVE-2014-10070  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Debian:13 zsh to version 5.0.7-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zsh package and not the zsh package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of treating them as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege-elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled.