SecurityContext

CVE-2018-1071: zsh - Buffer Overflow

  • Cve: CVE-2018-1071
  • Name: zsh - Buffer Overflow
  • Description: 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.
  • Impact: Local attackers can cause a denial of service by crashing the shell or system.
  • Remediation: Update to the latest version of zsh that includes the fix.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker needs local access
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00428
  • Epss percentile: 0.37766
  • Assignee: [email protected]
  • Published at: 2018-03-09T15:29:00Z
  • Age in days: 3182
  • Modified at: 2026-06-17T01:50:25Z
  • References total: 7
  • Products total: 6
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1071
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
UrlTags
http://www.securityfocus.com/bid/103359Third Party Advisory, VDB Entry
https://access.redhat.com/errata/RHSA-2018:3073Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1553531Issue Tracking, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/03/msg00038.htmlMailing List, Third Party Advisory
https://security.gentoo.org/glsa/201805-10Third Party Advisory
https://usn.ubuntu.com/3608-1/Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
zsh:zsh<= 5.4.2/v1/products/zsh/zsh
debian:debian_linux= 7.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 17.10, = 16.04, = 14.04/v1/products/canonical/ubuntu_linux
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 21109361
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports