Critical Security Update for tar Package: Red Hat Security Advisory RHSA-2023:0959

tar Updated 02 Oct 2025

Summary

16/09/2024
N/A
Yes i
Medium
5.5

RHSA-2023:0959: Red Hat Security Advisory: tar security update. Affects tar versions < 2:1.34-6.el9_1. Fixed in 2:1.34-6.el9_1. 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

The 'tar' package is a widely used utility in Unix and Linux systems for archiving files. It allows users to create, maintain, modify, and extract files from archives, commonly in .tar format. This package is essential for system backups and software distribution. However, vulnerabilities in 'tar' can lead to severe security risks, including unauthorized access to sensitive data.

Vulnerability Detail

The vulnerability identified in the 'tar' package is a security flaw that can be exploited by attackers to execute arbitrary code or cause a denial of service. This issue arises from improper handling of certain input files, which can lead to unexpected behavior during the extraction process. The potential ramifications include data loss, system compromise, and unauthorized access to sensitive information. The vulnerability has a CVSS score of 5.5, indicating a moderate level of risk.

How To Fix

Minimum fixed version

2:1.34-6.el9_1

This is the first release that contains the fix.

sudo dnf update tar

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

Workaround

As a temporary workaround, users can avoid using the 'tar' command with untrusted or unknown archives until the package is updated. Additionally, consider using alternative archiving tools that do not exhibit this vulnerability.

Conclusion

The tar package is critical for file archiving in Unix and Linux systems, but a recently discovered vulnerability poses a moderate risk. Users are advised to update to the latest patched version to mitigate potential security threats. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for tar →

Share this vulnerability

FAQ

The vulnerability allows for potential arbitrary code execution or denial of service due to improper input handling.

You can use the Vulert playground at Vulert Scanner to check if your application is affected without any signup.

As a temporary measure, avoid using the 'tar' command with untrusted archives and consider alternative tools.

Yes, the vulnerability has a CVSS score of 5.5, indicating a moderate risk level.

Detailed information can be found in the Red Hat Security Advisory RHSA-2023:0959.

Related vulnerabilities

Recent vulnerabilities recorded for tar.

How To Fix

Minimum fixed version

2:1.34-6.el9_1

This is the first release that contains the fix.

sudo dnf update tar

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