USN-7398-1: libtar vulnerabilities
31 March 2025
Several security issues were fixed in libtar.
Releases
Packages
- libtar - C library for manipulating tar archives (development files)
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)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.10
Ubuntu 24.04
Ubuntu 22.04
Ubuntu 20.04
Ubuntu 18.04
-
libtar-dev
-
1.2.20-7ubuntu0.1~esm1
Available with Ubuntu Pro
-
libtar0
-
1.2.20-7ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 16.04
-
libtar-dev
-
1.2.20-4ubuntu0.1~esm1
Available with Ubuntu Pro
-
libtar0
-
1.2.20-4ubuntu0.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.