7.8high

CVE-2018-1100

zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function.

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
0.5%
percentile 45%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

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

CVSS scores

Assigned byVersionScoreVector
NVD3.17.8CVSS:3.1/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-787 Out-of-bounds Write

References

  • sourceforge.net /p/zsh/code/ci/31f72205630687c1cef89347863aab355296a27f/ · x_refsource_CONFIRM, x_transferred
  • usn.ubuntu.com /3764-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • security.gentoo.org /glsa/201805-10 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • access.redhat.com /errata/RHSA-2018:1932 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=1563395 · x_refsource_CONFIRM, 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.