Improper Input Validation Affecting zsh-users/zsh package, versions [,5.6)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.49% (84th 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-UNMANAGED-ZSHUSERSZSH-2369454
  • published26 Jan 2022
  • disclosed5 Sept 2018
  • creditUnknown

Introduced: 5 Sep 2018

CVE-2018-0502  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade zsh-users/zsh to version 5.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. 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.

References

CVSS Base Scores

version 3.1