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.08% (38th 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-8003416
  • published17 Sept 2024
  • disclosed26 Mar 2018

Introduced: 26 Mar 2018

CVE-2018-1083  (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 before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality. A local unprivileged user can create a specially crafted directory path which leads to code execution in the context of the user who tries to use autocomplete to traverse the before mentioned path. If the user affected is privileged, this leads to privilege escalation.