cve.bz

CVE-2018-1083 Classic Buffer Overflow

7.8 highEPSS 0.6%Fix available

High (7.8). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1083 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1083?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1083?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1083 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
zsh:zshthrough 5.4.1
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
debian:debian_linux7.0
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7zsh4.3.17-1+deb7u2DLA-1335-1
Debian9zsh5.3.1-4+deb9u1DLA-2470-1
Debian12, 13, 14zsh5.4.2-4DEBIAN-CVE-2018-1083
Ubuntu14.04:LTSzsh5.0.2-3ubuntu6.2UBUNTU-CVE-2018-1083 USN-3608-1
Ubuntu16.04:LTSzsh5.1.1-1ubuntu2.2UBUNTU-CVE-2018-1083 USN-3608-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morezsh, zsh-html, zsh-debuginfo0:4.3.11-8.el6RHSA-2018:1932
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morezsh, zsh-html, zsh-debuginfo0:5.0.2-31.el7RHSA-2018:3073
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3zsh5.0.5-6.7.2SUSE-SU-2018:1072-1
SUSELinux Enterprise Module for Basesystem 15zsh5.5-3.3.15SUSE-SU-2018:1874-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSzsh4.3.6-67.9.8.1SUSE-SU-2022:14910-1
openSUSETumbleweedzsh5.8-7.7openSUSE-SU-2024:11543-1
Alpinev3.4zsh5.2-r2ALPINE-CVE-2018-1083
Alpinev3.5zsh5.2-r4ALPINE-CVE-2018-1083
Alpinev3.6zsh5.3.1-r1ALPINE-CVE-2018-1083
Alpinev3.7, v3.8, v3.9 and 15 morezsh5.4.2-r1ALPINE-CVE-2018-1083

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6zsh-0:4.3.11-8.el6Fixed 2018-06-19RHSA-2018:1932
Red Hat Enterprise Linux 7zsh-0:5.0.2-31.el7Fixed 2018-10-30RHSA-2018:3073
Red Hat Enterprise Linux 5zshWill not fix
Red Hat Enterprise Linux 8zshNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1083.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12), CWE-120 (13).

References

Check your stackJSON