CVE-2018-1083

high

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.

References

https://usn.ubuntu.com/3608-1/

https://sourceforge.net/p/zsh/code/ci/259ac472eac291c8c103c7a0d8a4eaf3c2942ed7

https://security.gentoo.org/glsa/201805-10

https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html

https://lists.debian.org/debian-lts-announce/2018/03/msg00038.html

https://bugzilla.redhat.com/show_bug.cgi?id=1557382

https://access.redhat.com/errata/RHSA-2018:3073

https://access.redhat.com/errata/RHSA-2018:1932

http://www.securityfocus.com/bid/103572

Details

Source: Mitre, NVD

Published: 2018-03-28

Updated: 2023-11-07

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High