CWE Code: 252
Vulnerability Type: privilege_escalation
CVSS Score: 7.2
CWE Name:  Unchecked Return Value
Summary: 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.
Access Authentication: NONE
Access Complexity: LOW
Access Vector: LOCAL
Impact (C/I/A): COMPLETE/COMPLETE/COMPLETE
Published Date: 2017-03-28
Last Modified Date: 2019-10-03