CVE-2018-1083

Source
https://cve.org/CVERecord?id=CVE-2018-1083
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1083.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-1083
Downstream
Related
Published
2018-03-28T13:29:00.213Z
Modified
2026-04-02T00:36:35.024029Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/zsh-users/zsh

Affected ranges

Type
GIT
Repo
https://github.com/zsh-users/zsh
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.4.1"
        }
    ]
}

Affected versions

5.*
5.1.1-test-2
5.3.1-test-2
5.4
5.4.1
Other
dot-zsh-199904280524
dot-zsh-199905041932
dot-zsh-199905171944
dot-zsh-199906060520
dot-zsh-199907031715
dot-zsh-199907241534
dot-zsh-199908011751
dot-zsh-last-snapshot-
post-opt-arg
pre-func-move
pre-opt-arg
dot-zsh-3.*
dot-zsh-3.1.5-pws-14-199904280524
dot-zsh-3.1.5-pws-15-last-snapshot-
dot-zsh-3.1.5-pws-17-199905271502
dot-zsh-3.1.5-pws-19-199905271502
dot-zsh-3.1.5-pws-19-199907031636
zsg-4.*
zsg-4.1.1-test-2
zsh-3.*
zsh-3.1.5
zsh-3.1.5-pws-1
zsh-3.1.5-pws-10
zsh-3.1.5-pws-11
zsh-3.1.5-pws-12
zsh-3.1.5-pws-13
zsh-3.1.5-pws-14
zsh-3.1.5-pws-16-w6109
zsh-3.1.5-pws-16-w6117
zsh-3.1.5-pws-16-w6119
zsh-3.1.5-pws-16-w6133
z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h-5.1.1-test-1
zsh-5.1.1-test-2
zsh-5.1.1-test-3
zsh-5.2
zsh-5.2-test-1
zsh-5.2-test-2
zsh-5.2-test-3
zsh-5.3
zsh-5.3.1
zsh-5.4
zsh-5.4.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1083.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "14.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "16.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "17.10"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "6.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "6.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "6.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0"
            }
        ]
    }
]