Bug 1805963 (CVE-2020-9308) - CVE-2020-9308 libarchive: attempts to unpack a RAR5 file with an invalid or corrupted header leads to a SIGSEGV
Summary: CVE-2020-9308 libarchive: attempts to unpack a RAR5 file with an invalid or c...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-9308
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: 1805967 1805968
Blocks: 1805969
TreeView+ depends on / blocked
 
Reported: 2020-02-21 18:22 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-02-16 20:32 UTC (History)
8 users (show)

Fixed In Version: libarchive 3.4.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-24 16:31:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-02-21 18:22:31 UTC
archive_read_support_format_rar5.c in libarchive before 3.4.2 attempts to unpack a RAR5 file with an invalid or corrupted header (such as a header size of zero), leading to a SIGSEGV or possibly unspecified other impact.

References:
https://github.com/libarchive/libarchive/pull/1326
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20459

Upstream commit:
https://github.com/libarchive/libarchive/pull/1326/commits/94821008d6eea81e315c5881cdf739202961040a

Comment 1 Guilherme de Almeida Suckevicz 2020-02-21 18:26:30 UTC
Created libarchive tracking bugs for this issue:

Affects: fedora-all [bug 1805967]


Created libarchive3 tracking bugs for this issue:

Affects: epel-6 [bug 1805968]

Comment 2 Riccardo Schirone 2020-03-24 11:53:39 UTC
Support for RAR5 was introduced in libarchive 3.4.0 (see https://github.com/libarchive/libarchive/wiki/ReleaseNotes#libarchive-340).

Comment 3 Riccardo Schirone 2020-03-24 11:56:02 UTC
Statement:

This issue did not affect the versions of libarchive as shipped with Red Hat Enterprise Linux 6, 7, and 8 as they did not include support for RAR 5 archives.

Comment 4 Product Security DevOps Team 2020-03-24 16:31:55 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-2020-9308


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