SecurityContext

CVE-2014-10070: zsh - Privilege Escalation

  • Cve: CVE-2014-10070
  • Name: zsh - Privilege Escalation
  • Description: zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of treating them as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege-elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled.
  • Impact: Local attackers can escalate privileges by exploiting environment variable evaluation in unsanitized contexts.
  • Remediation: Update to zsh version 5.0.7 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00487
  • Epss percentile: 0.42737
  • Assignee: [email protected]
  • Published at: 2018-02-27T22:29:00Z
  • Age in days: 3192
  • Modified at: 2026-06-17T00:04:11Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2014-10070
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-264—

References

Same in every row:

  • Source: nvd
UrlTags
https://sourceforge.net/p/zsh/code/ci/546203a770cec329e73781c3c8ab1078390aee72Patch, Third Party Advisory
http://zsh.sourceforge.net/releases.htmlRelease Notes, Third Party Advisory
https://usn.ubuntu.com/3593-1/

Products

ProductAffectedPlatform boundSourcesUrl
zsh_project:zsh<= 5.0.6nonvd/v1/products/zsh_project/zsh

Index

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

Exploitation

  • Authentication required: yes
  • 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, exposed hosts