Improper Input Validation Affecting zsh-debuginfo package, versions <0:5.5.1-2.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

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-AMZN2-ZSHDEBUGINFO-1666177
  • published27 Sept 2021
  • disclosed5 Sept 2018

Introduced: 5 Sep 2018

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

How to fix?

Upgrade Amazon-Linux:2 zsh-debuginfo to version 0:5.5.1-2.amzn2.0.1 or higher.
This issue was patched in ALAS2-2018-1089.

NVD Description

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

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.