Vulnerability in chkrootkit - security update

chkrootkit Updated 02 Oct 2025

Summary

03/06/2014
N/A
Yes i
Unrated
Not published

DSA-2945-1: chkrootkit - security update. Affects chkrootkit versions < 0.49-4.1+deb7u2. Fixed in 0.49-4.1+deb7u2. 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

chkrootkit is a rootkit detector that is used to scan systems for known rootkits and suspicious files. It is designed to detect various types of rootkits, including LKM (Loadable Kernel Module) rootkits, which are kernel modules that can be loaded and unloaded dynamically. chkrootkit is commonly used as a security tool to identify and remove rootkits from compromised systems.

Vulnerability Detail

A vulnerability has been discovered in chkrootkit that could allow local attackers to gain root access when the /tmp directory is mounted without the noexec option. This vulnerability arises from the fact that chkrootkit uses the /tmp directory to create temporary files during its scanning process. If an attacker has write access to the /tmp directory and can execute arbitrary code, they can exploit this vulnerability to gain root privileges on the system. This could lead to unauthorized access, data theft, or further compromise of the system.

How To Fix

Minimum fixed version

0.49-4.1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade chkrootkit

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

Workaround

If upgrading the chkrootkit package is not immediately possible, a temporary workaround is to manually mount the /tmp directory with the noexec option. This can be done by modifying the /etc/fstab file and adding the 'noexec' option to the line that mounts the /tmp directory. After making the change, the system needs to be rebooted for the new mount options to take effect.

Conclusion

In conclusion, a vulnerability has been discovered in chkrootkit that could allow local attackers to gain root access on systems where the /tmp directory is mounted without the noexec option. It is recommended to upgrade the chkrootkit package to the latest version or apply the temporary workaround of manually mounting the /tmp directory with the noexec option. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for chkrootkit →

Share this vulnerability

FAQ

chkrootkit is a rootkit detector used to scan systems for known rootkits and suspicious files.

This vulnerability allows local attackers to gain root access on systems where the /tmp directory is mounted without the noexec option. This can lead to unauthorized access, data theft, or further compromise of the system.

To fix this vulnerability, upgrade the chkrootkit package to version 0.49-4.1+deb7u2 or later. Ensure that the /tmp directory is mounted with the noexec option.

Yes, a temporary workaround is to manually mount the /tmp directory with the noexec option by modifying the /etc/fstab file.

Yes, you can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for chkrootkit.

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

0.49-4.1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade chkrootkit

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