{"id":"ALPINE-CVE-2018-1083","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.","modified":"2025-12-03T22:49:55.192168Z","published":"2018-03-28T13:29:00.213Z","upstream":["CVE-2018-1083"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-1083"}],"affected":[{"package":{"name":"zsh","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.4","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2-r2"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.5","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2-r4"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.1-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.2-r1"}]}],"versions":["4.3.11-r1","4.3.12-r0","4.3.15-r0","4.3.16-r0","4.3.17-r0","5.0.0-r0","5.0.2-r0","5.0.2-r1","5.0.2-r2","5.0.4-r0","5.0.5-r0","5.0.6-r0","5.0.7-r0","5.0.8-r0","5.0.8-r1","5.1-r0","5.1.1-r0","5.1.1-r1","5.2-r0","5.2-r1","5.2-r2","5.2-r3","5.3.1-r0","5.4.1-r0","5.4.2-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-1083.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}