CVE-2018-1071

Source
https://cve.org/CVERecord?id=CVE-2018-1071
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-1071.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-1071
Downstream
Related
Published
2018-03-09T15:29:00.267Z
Modified
2026-04-16T01:38:27.085196346Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the exec.c:hashcmd() function. A local attacker could exploit this to cause a denial of service.

Database specific
{
    "unresolved_ranges": [
        {
            "cpe": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "14.04"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "cpe": "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "16.04"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "cpe": "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "17.10"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "cpe": "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "7.0"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "cpe": "cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "7.0"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "cpe": "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "7.0"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "cpe": "cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "7.0"
                }
            ],
            "source": "CPE_FIELD"
        }
    ]
}
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
{
    "cpe": "cpe:2.3:a:zsh:zsh:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.4.2"
        }
    ],
    "source": "CPE_FIELD"
}

Affected versions

5.*
5.1.1-test-2
5.3.1-test-2
5.4
5.4.1
Other
post-opt-arg
pre-func-move
pre-opt-arg
zsg-4.*
zsg-4.1.1-test-2
zsh-3.*
zsh-3.1.6-dev-21
zsh-3.1.6-dev-22
zsh-3.1.7
zsh-3.1.7-pre-2
zsh-3.1.7-pre-3
zsh-3.1.7-pre-4
zsh-3.1.7-prep-1
zsh-3.1.8
zsh-3.1.9
zsh-3.1.9-dev-1
zsh-3.1.9-dev-2
zsh-3.1.9-dev-3
zsh-3.1.9-dev-4
zsh-3.1.9-dev-5
zsh-3.1.9-dev-6
zsh-3.1.9-dev-7
zsh-3.1.9-dev-8
zsh-4.*
zsh-4.0.1
zsh-4.0.1-pre-1
zsh-4.0.1-pre-3
zsh-4.0.1-pre-4
zsh-4.0.1-pre-5
zsh-4.0.2-pre-2
zsh-4.1.0-dev-1
zsh-4.1.0-dev-2
zsh-4.1.0-dev-3
zsh-4.1.0-dev-4
zsh-4.1.0-dev-5
zsh-4.1.0-dev-7
zsh-4.1.1
zsh-4.1.1-test-1
zsh-4.1.1-test-3
zsh-4.2.0
zsh-4.2.0-pre-1
zsh-4.2.0-pre-2
zsh-4.2.0-pre-3
zsh-4.2.0-pre-4
zsh-4.2.1
zsh-4.2.1-test-A
zsh-4.2.2
zsh-4.2.3
zsh-4.3.0-dev-3
zsh-4.3.0-dev-4
zsh-4.3.0-dev-5
zsh-4.3.1
zsh-4.3.10
zsh-4.3.10-dev-2
zsh-4.3.10-test-3
zsh-4.3.11
zsh-4.3.11-dev-4
zsh-4.3.12
zsh-4.3.12-test-3
zsh-4.3.13
zsh-4.3.14
zsh-4.3.15
zsh-4.3.16
zsh-4.3.17
zsh-4.3.17-test-2
zsh-4.3.2
zsh-4.3.3
zsh-4.3.4
zsh-4.3.4-dev-2
zsh-4.3.4-dev-4
zsh-4.3.4-dev-5
zsh-4.3.4-dev-6
zsh-4.3.4-dev-7
zsh-4.3.4-dev-8
zsh-4.3.5
zsh-4.3.5-dev-1
zsh-4.3.5-dev-2
zsh-4.3.5-dev-3
zsh-4.3.5-dev-4
zsh-4.3.6
zsh-4.3.6-dev-1
zsh-4.3.6-dev-2
zsh-4.3.7
zsh-4.3.8
zsh-4.3.9
zsh-4.3.9-dev-3
zsh-4.3.9-dev-5
zsh-5.*
zsh-5.0.0
zsh-5.0.0-test-1
zsh-5.0.1
zsh-5.0.2
zsh-5.0.2-test-1
zsh-5.0.2-test-2
zsh-5.0.2-test-3
zsh-5.0.3
zsh-5.0.4
zsh-5.0.5
zsh-5.0.5-dev-1
zsh-5.0.5-dev-2
zsh-5.0.5-dev-3
zsh-5.0.6
zsh-5.0.6-dev-1
zsh-5.0.7
zsh-5.0.7-dev-2
zsh-5.0.7-dev-4
zsh-5.0.8
zsh-5.0.8-test-3
zsh-5.1
zsh-5.1-test-1
zsh-5.1.1
zsh-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
zsh-5.4.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-1071.json"