CVE-2017-14604
GNOME Nautilus before 3.23.90 allows attackers to spoof a file type by using the .desktop file extension, as demonstrated by an attack in which a .desktop file's Name field ends in .pdf but this file's Exec field launches a malicious "sh -c" command. In other words, Nautilus provides no UI indication that a file actually has the potentially unsafe .desktop extension; instead, the UI only shows the .pdf extension. One (slightly) mitigating factor is that an attack requires the .desktop file to have execute permission. The solution is to ask the user to confirm that the file is supposed to be treated as a .desktop file, and then remember the user's answer in the metadata::trusted field.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Ubuntu has 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 26.04 | nautilus | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nautilus | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nautilus | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | nautilus | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | nautilus | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | nautilus | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | nautilus | Fix pending | UBUNTU-CVE-2017-14604 | |
| Ubuntu 14.04 | nautilus | Fix pending | ||
| Debian 14 | nautilus | Fixed | 3.25.90-1 | DEBIAN-CVE-2017-14604 |
| Debian 13 | nautilus | Fixed | 3.25.90-1 | DEBIAN-CVE-2017-14604 |
| Debian 12 | nautilus | Fixed | 3.25.90-1 | DEBIAN-CVE-2017-14604 |
| Red Hat Enterprise Linux 7 | nautilus | Fixed | 0:3.22.3-4.el7_4 | RHSA-2018:0223 |
| Red Hat Enterprise Linux 7 | nautilus-devel | Fixed | 0:3.22.3-4.el7_4 | RHSA-2018:0223 |
| Red Hat Enterprise Linux 7 | nautilus-extensions | Fixed | 0:3.22.3-4.el7_4 | RHSA-2018:0223 |
| Red Hat Enterprise Linux 6 | nautilus | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | nautilus-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | nautilus-extensions | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | nautilus | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2017/dsa-3994 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0223 (vendor-advisory)
References
- https://github.com/freedomofpress/securedrop/issues/2238
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860268
- https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0
- https://bugzilla.gnome.org/show_bug.cgi?id=777991
- http://www.securityfocus.com/bid/101012
- http://www.debian.org/security/2017/dsa-3994
- https://github.com/GNOME/nautilus/commit/bc919205bf774f6af3fa7154506c46039af5a69b
- https://micahflee.com/2017/04/breaking-the-security-model-of-subgraph-os/
- https://access.redhat.com/errata/RHSA-2018:0223
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.