CVE-2018-13259Improper Input Validation in ZSH

Severity
9.8CRITICALNVD
EPSS
0.7%
top 29.15%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 5
Latest updateMay 13

Description

An issue was discovered in zsh before 5.6. Shebang lines exceeding 64 characters were truncated, potentially leading to an execve call to a program name that is a substring of the intended one.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages4 packages

NVDzsh/zsh< 5.6
debiandebian/zsh< zsh 5.6-1 (bookworm)
Debianzsh/zsh< 5.6-1+3
Ubuntuzsh/zsh< 5.0.2-3ubuntu6.3+2

Also affects: Ubuntu Linux 14.04, 16.04, 18.04

Patches

🔴Vulnerability Details

3
GHSA
GHSA-8vj4-q4ww-8jf3: An issue was discovered in zsh before 52022-05-13
OSV
zsh vulnerabilities2018-09-11
OSV
CVE-2018-13259: An issue was discovered in zsh before 52018-09-05

📋Vendor Advisories

3
Ubuntu
Zsh vulnerabilities2018-09-11
Red Hat
zsh: Improper handling of shebang line longer than 642018-09-04
Debian
CVE-2018-13259: zsh - An issue was discovered in zsh before 5.6. Shebang lines exceeding 64 characters...2018

💬Community

2
Bugzilla
CVE-2018-13259 zsh: Improper handling of shebang line longer than 64 [fedora-all]2018-09-06
Bugzilla
CVE-2018-13259 zsh: Improper handling of shebang line longer than 642018-09-06