Security Update for eject Package

eject Updated 02 Oct 2025

Summary

28/03/2017
N/A
Yes i
Unrated
Not published

DSA-3823-1: eject - security update. Affects eject versions < 2.1.5+deb1+cvs20081104-13.1+deb8u1. Fixed in 2.1.5+deb1+cvs20081104-13.1+deb8u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The eject package is a utility used to eject removable media such as CDs or DVDs from a computer's optical drive. It provides a command-line interface for ejecting and closing the drive tray. The package is commonly used in Linux distributions, including Debian 8 (Jessie).

Vulnerability Detail

The vulnerability, identified as CVE-2017-6964, was discovered by Ilja Van Sprundel. It affects the dmcrypt-get-device helper used by eject to check if a given device is an encrypted device handled by devmapper. The vulnerability arises from the failure to properly check return values from setuid() and setgid() when dropping privileges. An attacker could exploit this vulnerability to gain elevated privileges and potentially execute arbitrary code.

How To Fix

Minimum fixed version

2.1.5+deb1+cvs20081104-13.1+deb8u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade eject

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is crucial to apply the security update as soon as possible to mitigate the risk.

Conclusion

It is crucial to apply the security update for the eject package to protect against this vulnerability. Upgrading to the fixed version will ensure that the vulnerability is patched and the system remains secure. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for eject →

Share this vulnerability

FAQ

The eject package is a utility used to eject removable media such as CDs or DVDs from a computer's optical drive.

This vulnerability could allow an attacker to gain elevated privileges and potentially execute arbitrary code.

The vulnerability affects version 2.1.5+deb1+cvs20081104-13.1+deb8u1 and earlier versions of the eject package for Debian 8 (Jessie).

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and it will provide real-time alerts for open-source vulnerabilities.

You can find more information about this vulnerability in the Debian Security Advisory DSA-3823-1 (https://storage.googleapis.com/debian-osv/dsa-osv/DSA-3823-1.json).

Related vulnerabilities

Recent vulnerabilities recorded for eject.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.1.5+deb1+cvs20081104-13.1+deb8u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade eject

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback