Improper Initialization Affecting zsh-html package, versions <0:5.0.2-31.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.36% (73rd 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-RHEL7-ZSHHTML-4800110
  • published26 Jul 2021
  • disclosed13 Jun 2017

Introduced: 13 Jun 2017

CVE-2017-18205  (opens in a new tab)
CWE-665  (opens in a new tab)

How to fix?

Upgrade RHEL:7 zsh-html to version 0:5.0.2-31.el7 or higher.
This issue was patched in RHSA-2018:3073.

NVD Description

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

In builtin.c in zsh before 5.4, when sh compatibility mode is used, there is a NULL pointer dereference during processing of the cd command with no argument if HOME is not set.