CVE-2017-1000383
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.
What to do
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | emacs25 | Fix pending | UBUNTU-CVE-2017-1000383 | |
| Ubuntu 16.04 | emacs24 | Will not fix It really seems to not be a vulnerability. See all the comments around this issue in emacs. I'll set it as ignored. | UBUNTU-CVE-2017-1000383 | |
| Ubuntu 14.04 | emacs23 | Will not fix It really seems to not be a vulnerability. See all the comments around this issue in emacs. I'll set it as ignored. | ||
| Ubuntu 14.04 | emacs24 | Will not fix It really seems to not be a vulnerability. See all the comments around this issue in emacs. I'll set it as ignored. | ||
| Red Hat Enterprise Linux 9 | emacs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | emacs-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | emacs-filesystem | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | emacs-lucid | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | emacs-nox | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | emacs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | emacs-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | emacs-el | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | emacs-filesystem | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | emacs-nox | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | emacs-terminal | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-el | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-nox | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | emacs | Will not fix Will not fix |
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.