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.
Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
0.469%
chance of exploitation in the next 30 days
higher than 41.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-252: Unchecked Return Value
Timeline
- 2017-03-28Published by the CNA01:00 UTC
Affected products
| Vendor | Product |
|---|---|
| canonical | ubuntu_linux |
| debian | debian_linux |
References
- http://www.debian.org/security/2017/dsa-3823
- https://www.ubuntu.com/usn/usn-3246-1/
- http://www.securityfocus.com/bid/97154
- https://launchpad.net/bugs/1673627
- https://www.debian.org/security/2017/dsa-3823
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2017-6964'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2017-6964'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2017-6964'curl 'https://api.contrastcyber.com/cve_products/CVE-2017-6964'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).