Bug 2121292 (CVE-2021-33644) - CVE-2021-33644 libtar: out-of-bounds read in gnu_longname
Summary: CVE-2021-33644 libtar: out-of-bounds read in gnu_longname
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-33644
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2121300 2121325
Blocks: 2117835
TreeView+ depends on / blocked
 
Reported: 2022-08-25 05:11 UTC by Sandipan Roy
Modified: 2023-05-16 14:50 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-05-16 14:50:50 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2898 0 None None None 2023-05-16 08:25:50 UTC

Description Sandipan Roy 2022-08-25 05:11:32 UTC
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_longname, causing an out-of-bounds read.

https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1807

Comment 1 Sandipan Roy 2022-08-25 05:19:32 UTC
Created libtar tracking bugs for this issue:

Affects: fedora-all [bug 2121300]

Comment 3 Kamil Dudka 2022-08-25 15:03:36 UTC
The security fixes in question seem to be available in this source RPM package: https://repo.openeuler.org/openEuler-22.03-LTS/update/source/Packages/libtar-1.2.20-21.oe2203.src.rpm

Comment 4 errata-xmlrpc 2023-05-16 08:25:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2898 https://access.redhat.com/errata/RHSA-2023:2898

Comment 5 Product Security DevOps Team 2023-05-16 14:50:48 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-33644


Note You need to log in before you can comment on or make changes to this bug.