{"id":"UBUNTU-CVE-2017-1000383","details":"GNU Emacs version 25.3.1 (and other versions most likely) ignores umask when creating a backup save file (\"[ORIGINAL_FILENAME]~\") resulting in files that may be world readable or otherwise accessible in ways not intended by the user running the emacs binary.","modified":"2025-09-08T16:44:37Z","published":"2017-10-31T20:29:00Z","upstream":["CVE-2017-1000383"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-1000383"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2017/10/31/15"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2017/10/31/1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-1000383"}],"affected":[{"package":{"name":"emacs24","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/emacs24@24.5+1-6ubuntu1.1+esm4?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["24.5+1-1ubuntu2","24.5+1-1ubuntu4","24.5+1-1ubuntu5","24.5+1-1ubuntu6","24.5+1-1ubuntu7","24.5+1-6ubuntu1","24.5+1-6ubuntu1.1","24.5+1-6ubuntu1.1+esm1","24.5+1-6ubuntu1.1+esm2","24.5+1-6ubuntu1.1+esm3","24.5+1-6ubuntu1.1+esm4"],"ecosystem_specific":{"binaries":[{"binary_version":"24.5+1-6ubuntu1.1+esm4","binary_name":"emacs24"},{"binary_version":"24.5+1-6ubuntu1.1+esm4","binary_name":"emacs24-bin-common"},{"binary_version":"24.5+1-6ubuntu1.1+esm4","binary_name":"emacs24-common"},{"binary_version":"24.5+1-6ubuntu1.1+esm4","binary_name":"emacs24-el"},{"binary_version":"24.5+1-6ubuntu1.1+esm4","binary_name":"emacs24-lucid"},{"binary_version":"24.5+1-6ubuntu1.1+esm4","binary_name":"emacs24-nox"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000383.json"}},{"package":{"name":"emacs25","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/emacs25@25.2+1-6ubuntu0.1~esm2?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.2+1-6","25.2+1-6ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"25.2+1-6ubuntu0.1~esm2","binary_name":"emacs25"},{"binary_version":"25.2+1-6ubuntu0.1~esm2","binary_name":"emacs25-bin-common"},{"binary_version":"25.2+1-6ubuntu0.1~esm2","binary_name":"emacs25-common"},{"binary_version":"25.2+1-6ubuntu0.1~esm2","binary_name":"emacs25-el"},{"binary_version":"25.2+1-6ubuntu0.1~esm2","binary_name":"emacs25-lucid"},{"binary_version":"25.2+1-6ubuntu0.1~esm2","binary_name":"emacs25-nox"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000383.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:N/A:N"},{"type":"Ubuntu","score":"low"}]}