{"id":"ALPINE-CVE-2019-20044","details":"In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the original privileges can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid().","modified":"2026-09-10T06:17:54.528835645Z","published":"2020-02-24T14:15:11.667Z","upstream":["CVE-2019-20044"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2019-20044"}],"affected":[{"package":{"name":"zsh","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}},{"package":{"name":"zsh","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/zsh?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-20044.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}