Advisory

USN-7398-1

Also known as: CVE-2021-33643, CVE-2021-33644, CVE-2021-33645, CVE-2021-33646

Summary

libtar vulnerabilities

Details

It was discovered that libtar may perform out-of-bounds reads when
processing specially crafted tar files. An attacker could possibly use
this issue to cause libtar to crash, resulting in a denial of service,
or execute arbitrary code. (CVE-2021-33643, CVE-2021-33644)

It was discovered that libtar contained a memory leak due to failing
to free a variable, causing performance degradation. An attacker
could possibly use this issue to cause libtar to crash, resulting in a
denial of service. (CVE-2021-33645, CVE-2021-33646)

Severity

Not rated by the source.

Dates

Published
2025-03-31 15:25 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

libtar

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.2.20-8ubuntu0.20.04.1 (ecosystem)

Fixed versions

1.2.20-8ubuntu0.20.04.1

Fix

  • Fixed version 1.2.20-8ubuntu0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libtar

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.2.20-8ubuntu0.22.04.1 (ecosystem)

Fixed versions

1.2.20-8ubuntu0.22.04.1

Fix

  • Fixed version 1.2.20-8ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libtar

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.2.20-8.1ubuntu0.24.04.1 (ecosystem)

Fixed versions

1.2.20-8.1ubuntu0.24.04.1

Fix

  • Fixed version 1.2.20-8.1ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences