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-4855354
  • published26 Jul 2021
  • disclosed7 Apr 2018

Introduced: 7 Apr 2018

CVE-2018-1100  (opens in a new tab)
CWE-120  (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 utils.c:checkmailpath function. A local attacker could exploit this to execute arbitrary code in the context of another user.

CVSS Scores

version 3.1