most - Shell Injection Vulnerability

most Updated 02 Oct 2025

Summary

16/12/2016
N/A
Yes i
Unrated
Not published

DLA-745-1: most - security update. Affects most versions < 5.0.0a-2.2. Fixed in 5.0.0a-2.2. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

most is a pager utility that can automatically open files compressed with gzip, bzip2, and LZMA. It is commonly used in Debian 7 Wheezy. However, the Debian version of most was found to be vulnerable to a shell injection attack, which allows an attacker to execute arbitrary commands on the user's computer.

Vulnerability Detail

The vulnerability in most arises from a lack of proper input sanitization. An attacker can exploit this vulnerability by crafting a malicious file name that contains shell commands. When the user opens the file with most, the commands will be executed with the privileges of the user running most. This can lead to unauthorized access, data loss, or even complete compromise of the system.

How To Fix

Minimum fixed version

5.0.0a-2.2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade most

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

Workaround

If upgrading the most package is not immediately possible, a temporary workaround is to avoid opening untrusted files with most. Users should exercise caution when opening files from unknown or untrusted sources.

Conclusion

The shell injection vulnerability in most can be mitigated by upgrading the package to the latest version. It is important to promptly apply security updates to protect against potential attacks. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for most →

Share this vulnerability

FAQ

most is a pager utility that allows users to view files in a paginated manner. It supports various compression formats and is commonly used in Debian 7 Wheezy.

The vulnerability arises from a lack of input sanitization in the Debian version of most. An attacker can craft a file name that contains shell commands, which will be executed when the file is opened with most.

Exploiting this vulnerability can lead to unauthorized access, data loss, or complete compromise of the system. An attacker can execute arbitrary commands with the privileges of the user running most.

To fix this vulnerability, it is recommended to upgrade the most package to version 5.0.0a-2.2 or later. This can be done by running the package manager command specific to the operating system.

If upgrading the most package is not immediately possible, users can avoid opening untrusted files with most. Exercise caution when opening files from unknown or untrusted sources.

Related vulnerabilities

Recent vulnerabilities recorded for most.

How To Fix

Minimum fixed version

5.0.0a-2.2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade most

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