CVE-2021-33643

libtar: out-of-bounds read in gnu_longlink

Published Aug 9, 2022 CVSS 3.1 · 6.5 Medium EPSS 1.9% KEV · Not listed
Description
An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of malloc(0) for a variable gnu_longlink, causing an out-of-bounds read.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4033-1 libtar security update
EUVD EUVD EUVD-2021-20320 An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of malloc(0) for a variable gnu_longlink, causing an out-of-bounds read.
Ubuntu USN Ubuntu USN USN-7398-1 libtar vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L'}

Type Values Removed Values Added
First Time appeared Openatom
Openatom openeuler
CPEs cpe:2.3:o:huawei:openeuler:20.03:sp1:*:*:lts:*:*:*
cpe:2.3:o:huawei:openeuler:20.03:sp3:*:*:lts:*:*:*
cpe:2.3:o:huawei:openeuler:22.03:*:*:*:lts:*:*:*
cpe:2.3:o:openatom:openeuler:20.03:sp1:*:*:lts:*:*:*
cpe:2.3:o:openatom:openeuler:20.03:sp3:*:*:lts:*:*:*
cpe:2.3:o:openatom:openeuler:22.03:*:*:*:lts:*:*:*
Vendors & Products Huawei
Huawei openeuler
Openatom
Openatom openeuler
Weaknesses

Sources

Status
PUBLISHED
Assigner
openEuler
Published
Updated
Jun 23, 2026, 2:42 PM
Reserved
May 28, 2021, 12:00 AM
Status
Modified
Published
Aug 10, 2022, 8:15 PM
Modified
Jun 23, 2026, 4:16 PM
Severity
Moderate
Public date
Aug 10, 2022, 12:00 AM