Stack-based Buffer Overflow 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.04% (5th 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-4797402
  • published26 Jul 2021
  • disclosed9 Mar 2018

Introduced: 9 Mar 2018

CVE-2018-1071  (opens in a new tab)
CWE-121  (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.

zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local attacker could exploit this to cause a denial of service.

CVSS Scores

version 3.1