CVE-2018-1083

zsh: Stack-based buffer overflow in gen_matches_files() at compctl.c

Published Mar 28, 2018 CVSS 3.0 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1335-1 zsh security update
Debian DLA Debian DLA DLA-2470-1 zsh security update
EUVD EUVD EUVD-2018-11733 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.
Ubuntu USN Ubuntu USN USN-3608-1 Zsh vulnerabilities
History

No history.

Weaknesses
  • 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')

  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Sep 16, 2024, 6:13 PM
Reserved
Dec 4, 2017, 12:00 AM
Status
Modified
Published
Mar 28, 2018, 1:29 PM
Modified
Jun 17, 2026, 1:50 AM
Severity
Moderate
Public date
Mar 26, 2018, 12:00 AM