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.
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.
Link | Tags |
---|---|
https://usn.ubuntu.com/3593-1/ | vendor advisory |
https://sourceforge.net/p/zsh/code/ci/546203a770cec329e73781c3c8ab1078390aee72 | third party advisory patch |
http://zsh.sourceforge.net/releases.html | third party advisory release notes |