Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-48303 EUVD-2022-51003GHSA-h2v4-4v4p-2qvc

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to …

Published Jan 30, 2023 · Updated Oct 14, 2026 · Assigned by mitre

Description

GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tar 1.34+dfsg-1.4 —
Debian 13 tar 1.34+dfsg-1.4 —
Debian 12 tar 1.34+dfsg-1.2+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS tar 1.34+dfsg-1ubuntu0.1.22.04.1 USN-5900-1
Ubuntu 20.04 LTS tar 1.30+dfsg-7ubuntu0.20.04.3 USN-5900-1
Ubuntu 18.04 LTS tar 1.29b-2ubuntu0.4 USN-5900-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS tar 1.28-2.1ubuntu0.2+esm2 USN-5900-1
Ubuntu Pro 14.04 LTS tar 1.27.1-1ubuntu0.1+esm3 USN-5900-1
ReleasePackageFixed inAdvisory
RHEL 9 tar 2:1.34-6.el9_1 RHSA-2023:0959
RHEL 8 tar 2:1.30-6.el8_7.1 RHSA-2023:0842
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS tar 2:1.30-5.el8_6.1 RHSA-2023:5610

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 tar 2:1.34-6.el9_1 ALSA-2023:0959
AlmaLinux 8 tar 2:1.30-6.el8_7.1 ALSA-2023:0842

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 tar 2:1.34-6.el9_1 RLSA-2023:0959
Rocky Linux 8 tar 2:1.30-6.el8_7.1 RLSA-2023:0842
ReleasePackageFixed inAdvisory
SLES 15 SP4 tar 1.34-150000.3.31.1 SUSE-SU-2023:0463-1
SLES 12 SP5 tar 1.27.1-15.18.1 SUSE-SU-2023:0441-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 tar 1.27.1-15.18.1 SUSE-SU-2023:0441-1
SLE Real Time 15 SP3 tar 1.34-150000.3.31.1 SUSE-SU-2023:0463-1
SLE Micro 5.3 tar 1.34-150000.3.31.1 SUSE-SU-2023:0463-1
SLE Micro 5.2 tar 1.34-150000.3.31.1 SUSE-SU-2023:0463-1
SLE Micro 5.1 tar 1.34-150000.3.31.1 SUSE-SU-2023:0463-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tar 1.34-10.1 openSUSE-SU-2024:12744-1
openSUSE Leap 15.4 tar 1.34-150000.3.31.1 SUSE-SU-2023:0463-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 tar 1.34-150000.3.31.1 SUSE-SU-2023:0463-1
openSUSE Leap Micro 5.2 tar 1.34-150000.3.31.1 SUSE-SU-2023:0463-1
ReleasePackageFixed inAdvisory
Alpine v3.24 tar 1.34-r2 —
Alpine v3.23 tar 1.34-r2 —
Alpine v3.22 tar 1.34-r2 —
Alpine v3.21 tar 1.34-r2 —
Alpine v3.20 tar 1.34-r2 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 tar 1.34-r2 —
Alpine v3.18 tar 1.34-r2 —
Alpine v3.17 tar 1.34-r2 —
Alpine v3.16 tar 1.34-r1 —
Alpine v3.15 tar 1.34-r1 —
Alpine v3.14 tar 1.34-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 tar 2:1.34-1.amzn2023.0.3 ALAS2023-2023-153
Amazon Linux 2 tar 2:1.26-35.amzn2.0.1 ALAS2-2023-1994

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) tar 1.34-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 tar 2:1.34-6.el9_1 ELSA-2023-0959
Oracle Linux 8 tar 2:1.30-6.el8_7.1 ELSA-2023-0842

Advisories 24

References