Moderate: libtar security update

libtar Updated 02 Oct 2025

Summary

16/05/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:2898: Moderate: libtar security update. Affects libtar versions < 1.2.20-17.el8. Fixed in 1.2.20-17.el8. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libtar is a C library for manipulating tar archives. It supports both the strict POSIX tar format and many commonly used GNU extensions. The library is used to create, extract, and manipulate tar archives. It is widely used in various software applications and systems.

Vulnerability Detail

The libtar package is affected by multiple vulnerabilities:

  1. CVE-2021-33643: This vulnerability is an out-of-bounds read in the gnu_longlink function. An attacker could exploit this issue to read arbitrary memory locations, potentially leading to information disclosure or a denial of service.

  2. CVE-2021-33644: This vulnerability is an out-of-bounds read in the gnu_longname function. A remote attacker could exploit this issue to read arbitrary memory locations, potentially leading to information disclosure or a denial of service.

  3. CVE-2021-33645: This vulnerability is a memory leak found in the th_read() function. An attacker could exploit this issue to cause a memory leak, potentially leading to resource exhaustion.

  4. CVE-2021-33646: This vulnerability is a memory leak found in the th_read() function. An attacker could exploit this issue to cause a memory leak, potentially leading to resource exhaustion.

How To Fix

Minimum fixed version

1.2.20-17.el8

This is the first release that contains the fix.

sudo dnf update libtar

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

Conclusion

The libtar package is affected by multiple vulnerabilities that could potentially lead to information disclosure, denial of service, or resource exhaustion. It is crucial to update the libtar package to the latest version to mitigate these risks. If you need further assistance or support in addressing these vulnerabilities, please contact DevNack.com.

See every vulnerability recorded for libtar →

Share this vulnerability

FAQ

libtar is a C library for manipulating tar archives. It supports both the strict POSIX tar format and many commonly used GNU extensions.

These vulnerabilities could potentially lead to information disclosure, denial of service, or resource exhaustion, depending on the specific vulnerability.

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 to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.

At the moment, there are no known workarounds for these vulnerabilities. It is recommended to update the libtar package to the latest version.

You can find more information about these vulnerabilities in the CVE pages listed in the References section of the advisory.

Related vulnerabilities

Recent vulnerabilities recorded for libtar.

How To Fix

Minimum fixed version

1.2.20-17.el8

This is the first release that contains the fix.

sudo dnf update libtar

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