{"id":"UBUNTU-CVE-2017-6964","details":"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.","modified":"2026-02-04T03:42:21.520431Z","published":"2017-03-27T00:00:00Z","related":["USN-3246-1"],"upstream":["CVE-2017-6964"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-6964"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3246-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-6964"}],"affected":[{"package":{"name":"eject","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/eject@2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1?arch=source&distro=trusty"},"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"eject","binary_version":"2.1.5+deb1+cvs20081104-13.1ubuntu0.14.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-6964.json"}},{"package":{"name":"eject","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/eject@2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1?arch=source&distro=xenial"},"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"eject","binary_version":"2.1.5+deb1+cvs20081104-13.1ubuntu0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-6964.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}