Arbitrary Command Execution and Local File Write Vulnerabilities in tardiff

tardiff Updated 02 Oct 2025

Summary

28/07/2016
N/A
Yes i
Unrated
Not published

DLA-564-1: tardiff - security update. Affects tardiff versions < 0.1-1+deb7u1. Fixed in 0.1-1+deb7u1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

tardiff is a package in the Debian 7 Wheezy ecosystem that provides a utility for comparing two tar archives and generating a diff file. It is commonly used for creating and applying patches to tar archives. The package is vulnerable to two security issues: CVE-2015-0857 and CVE-2015-0858.

Vulnerability Detail

CVE-2015-0857 allows for arbitrary command execution through shell metacharacters in the name of a tar file or a file within a tar file. This means that an attacker could manipulate the file names in a way that leads to the execution of arbitrary commands on the system. CVE-2015-0858 enables local users to write to arbitrary files by exploiting a symlink attack on a pathname in a temporary directory used by tardiff.

How To Fix

Minimum fixed version

0.1-1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tardiff

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

Workaround

There are no specific workarounds mentioned for these vulnerabilities.

Conclusion

The tardiff package in Debian 7 Wheezy is vulnerable to arbitrary command execution and local file write vulnerabilities. To address these issues, it is crucial to upgrade the tardiff package to version 0.1-1+deb7u1 or later. For further assistance or support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for tardiff →

Share this vulnerability

FAQ

CVE-2015-0857 allows an attacker to execute arbitrary commands on the system, potentially leading to unauthorized access, data loss, or further compromise of the system.

You can use the Vulert Playground at Vulert Scanner to check if your tardiff package is affected by these vulnerabilities. Simply upload your package manifest file, such as package-lock.json, and Vulert will analyze it for any known vulnerabilities.

There are no known public exploits for CVE-2015-0858 at the time of this report. However, it is still important to apply the recommended fix to prevent any potential exploitation.

No, both CVE-2015-0857 and CVE-2015-0858 require local access to the system in order to exploit them.

It is always recommended to keep your software and packages up to date with the latest security patches. Regularly monitoring for vulnerabilities and applying fixes promptly can help mitigate the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for tardiff.

How To Fix

Minimum fixed version

0.1-1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tardiff

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