7.8high

CVE-2018-1083

Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality.

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.6%
percentile 49%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

0.59% probability of exploitation in the next 30 days, higher than 49% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.07.2AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • zsh zsh

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

  • usn.ubuntu.com /3608-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • securityfocus.com /bid/103572 · vdb-entry, x_refsource_BID, x_transferred
  • security.gentoo.org /glsa/201805-10 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • sourceforge.net /p/zsh/code/ci/259ac472eac291c8c103c7a0d8a4eaf3c2942ed7 · x_refsource_CONFIRM, x_transferred
  • access.redhat.com /errata/RHSA-2018:1932 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=1557382 · x_refsource_CONFIRM, x_transferred
  • lists.debian.org /debian-lts-announce/2018/03/msg00038.html · mailing-list, x_refsource_MLIST, x_transferred
  • access.redhat.com /errata/RHSA-2018:3073 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • lists.debian.org /debian-lts-announce/2020/12/msg00000.html · mailing-list, x_refsource_MLIST, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.