CVE-2018-1083: canonical ubuntu_linux Classic Buffer Overflow
Vulnerability summary
CVE-2018-1083 is a high (CVSS 7.8) Classic Buffer Overflow vulnerability in canonical ubuntu_linux. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 47.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 10 · Related 5Timeline
- 28-03-2018PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
+0.01 pp
From 0.58% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected systems
Redhat3 products
- enterprise_linux_desktop6.0 | 7.0
- enterprise_linux_server6.0 | 7.0
- enterprise_linux_workstation6.0 | 7.0
Debian2 products
- zsh< 5.4.2-4
- debian_linuxEOL7.0
Alpine1 product
- zsh< 5.4.2-r1 | < 5.2-r2 | < 5.2-r4 | < 5.3.1-r1
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10
Ubuntu1 product
- zsh< 5.0.2-3ubuntu6.2 | < 5.1.1-1ubuntu2.2
Zsh1 product
- zsh< zsh 5.4.2-test-1 | ≤ 5.4.1
6 vendors · 9 products
References
14 links- sourceforge.net/p/zsh/code/ci/259ac472eac291c8c103c7a0d8a4eaf3c2942ed7X Refsource CONFIRMPatchThird Party AdvisoryREPORT
- lists.debian.org/debian-lts-announce/2018/03/msg00038.htmlMailing ListX Refsource MLISTThird Party Advisory