{"id":"CVE-2017-6964","aliases":["DEBIAN-CVE-2017-6964","DLA-876-1","DSA-3823-1","EUVD-2017-16002","GHSA-h47x-xw68-3m46","UBUNTU-CVE-2017-6964","USN-3246-1"],"status":"published","title":"dmcrypt-get-device, as shipped in the eject package of Debian and Ubuntu, does not check the...","description":"dmcrypt-get-device, as shipped in the eject package of Debian and Ubuntu, does not check the return value of the (1) setuid or (2) setgid function, which might cause dmcrypt-get-device to execute code, which was intended to run as an unprivileged user, as root. This affects eject through 2.1.5+deb1+cvs20081104-13.1 on Debian, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.10.1 on Ubuntu 16.10, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1 on Ubuntu 16.04 LTS, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1 on Ubuntu 14.04 LTS, and eject before 2.1.5+deb1+cvs20081104-9ubuntu0.1 on Ubuntu 12.04 LTS.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00469,"percentile":0.4085,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-252"],"published":"2017-03-27T00:00:00Z","modified":"2026-06-17T01:23:23Z","fixes":[{"ecosystem":"Debian:7","package":"eject","fixed_in":["2.1.5+deb1+cvs20081104-13+deb7u1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"eject","fixed_in":["2.1.5+deb1+cvs20081104-13.1+deb8u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"eject","fixed_in":["2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"eject","fixed_in":["2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:7","package":"eject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.5+deb1+cvs20081104-13+deb7u1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"eject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.5+deb1+cvs20081104-13.1+deb8u1"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"eject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1"}]}],"versions":["2.1.5+deb1+cvs20081104-13","2.1.5+deb1+cvs20081104-13.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"eject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1"}]}],"versions":["2.1.5+deb1+cvs20081104-13.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"eject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1"}]}],"versions":["2.1.5+deb1+cvs20081104-13","2.1.5+deb1+cvs20081104-13.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"eject","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1"}]}],"versions":["2.1.5+deb1+cvs20081104-13.1"]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"}],"references":[{"url":"http://www.debian.org/security/2017/dsa-3823","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory"]},{"url":"https://www.ubuntu.com/usn/usn-3246-1/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/97154","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://launchpad.net/bugs/1673627","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6964"},{"url":"https://www.debian.org/security/2017/dsa-3823","tags":["Third Party Advisory"]},{"url":"https://www.ubuntu.com/usn/usn-3246-1"},{"url":"https://github.com/advisories/GHSA-h47x-xw68-3m46"},{"url":"https://ubuntu.com/security/CVE-2017-6964","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3246-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6964","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-6964","description":"dmcrypt-get-device, as shipped in the eject package of Debian and Ubuntu, does not check the return value of the (1) setuid or (2) setgid function, which might cause dmcrypt-get-device to execute code, which was intended to run as an unprivileged user, as root. This affects eject through 2.1.5+deb1+cvs20081104-13.1 on Debian, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.10.1 on Ubuntu 16.10, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1 on Ubuntu 16.04 LTS, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1 on Ubuntu 14.04 LTS, and eject before 2.1.5+deb1+cvs20081104-9ubuntu0.1 on Ubuntu 12.04 LTS.","status":"published","published":"2017-03-28T01:00:00Z","modified":"2024-08-05T15:49:02.819Z","updated_at":"2026-11-02T14:33:16.578111Z"}],"euvd":[{"id":"EUVD-2017-16002","description":"dmcrypt-get-device, as shipped in the eject package of Debian and Ubuntu, does not check the return value of the (1) setuid or (2) setgid function, which might cause dmcrypt-get-device to execute code, which was intended to run as an unprivileged user, as root. This affects eject through 2.1.5+deb1+cvs20081104-13.1 on Debian, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.10.1 on Ubuntu 16.10, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1 on Ubuntu 16.04 LTS, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1 on Ubuntu 14.04 LTS, and eject before 2.1.5+deb1+cvs20081104-9ubuntu0.1 on Ubuntu 12.04 LTS.","status":"published","published":"2017-03-28T01:00:00Z","modified":"2024-08-05T15:49:02Z","updated_at":"2026-11-03T02:39:10.49179Z"}],"ghsa":[{"id":"GHSA-h47x-xw68-3m46","title":"dmcrypt-get-device, as shipped in the eject package of Debian and Ubuntu, does not check the...","description":"dmcrypt-get-device, as shipped in the eject package of Debian and Ubuntu, does not check the return value of the (1) setuid or (2) setgid function, which might cause dmcrypt-get-device to execute code, which was intended to run as an unprivileged user, as root. This affects eject through 2.1.5+deb1+cvs20081104-13.1 on Debian, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.10.1 on Ubuntu 16.10, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1 on Ubuntu 16.04 LTS, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1 on Ubuntu 14.04 LTS, and eject before 2.1.5+deb1+cvs20081104-9ubuntu0.1 on Ubuntu 12.04 LTS.","status":"published","published":"2022-05-13T01:46:49Z","modified":"2025-04-20T03:34:56Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-252"],"updated_at":"2026-11-02T15:01:42.453698Z"}],"nvd":[{"id":"CVE-2017-6964","description":"dmcrypt-get-device, as shipped in the eject package of Debian and Ubuntu, does not check the return value of the (1) setuid or (2) setgid function, which might cause dmcrypt-get-device to execute code, which was intended to run as an unprivileged user, as root. This affects eject through 2.1.5+deb1+cvs20081104-13.1 on Debian, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.10.1 on Ubuntu 16.10, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1 on Ubuntu 16.04 LTS, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1 on Ubuntu 14.04 LTS, and eject before 2.1.5+deb1+cvs20081104-9ubuntu0.1 on Ubuntu 12.04 LTS.","status":"published","published":"2017-03-28T01:59:01.287Z","modified":"2026-06-17T01:23:23.43Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-252"],"updated_at":"2026-11-02T14:03:44.275273Z"}],"osv":[{"id":"UBUNTU-CVE-2017-6964","description":"dmcrypt-get-device, as shipped in the eject package of Debian and Ubuntu, does not check the return value of the (1) setuid or (2) setgid function, which might cause dmcrypt-get-device to execute code, which was intended to run as an unprivileged user, as root. This affects eject through 2.1.5+deb1+cvs20081104-13.1 on Debian, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.10.1 on Ubuntu 16.10, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1 on Ubuntu 16.04 LTS, eject before 2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1 on Ubuntu 14.04 LTS, and eject before 2.1.5+deb1+cvs20081104-9ubuntu0.1 on Ubuntu 12.04 LTS.","status":"published","published":"2017-03-27T00:00:00Z","modified":"2026-02-04T03:42:21.520431Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:15.773974Z"},{"id":"DLA-876-1","title":"eject - security update","status":"published","published":"2017-03-28T00:00:00Z","modified":"2026-03-09T02:09:49.703982Z","updated_at":"2026-11-02T15:46:13.584509Z"},{"id":"DSA-3823-1","title":"eject - security update","status":"published","published":"2017-03-28T00:00:00Z","modified":"2026-03-09T02:11:09.42913Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"USN-3246-1","title":"eject vulnerability","description":"Ilja Van Sprundel discovered that dmcrypt-get-device incorrectly checked setuid\nand setgid return values. A local attacker could use this issue to execute code\nas an administrator.\n","status":"published","published":"2017-03-27T21:36:55Z","modified":"2026-02-10T04:41:06Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
