Double Free Affecting libarchive package, versions <0:3.3.2-7.el8
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ORACLE8-LIBARCHIVE-2543145
- published 10 Apr 2022
- disclosed 20 Dec 2018
Introduced: 20 Dec 2018
CVE-2018-1000877 Open this link in a new tabHow to fix?
Upgrade Oracle:8
libarchive
to version 0:3.3.2-7.el8 or higher.
This issue was patched in ELSA-2019-3698
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libarchive
package and not the libarchive
package as distributed by Oracle
.
See How to fix?
for Oracle:8
relevant fixed versions and status.
libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c, parse_codes(), realloc(rar->lzss.window, new_size) with new_size = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.
References
- https://linux.oracle.com/cve/CVE-2018-1000877.html
- https://linux.oracle.com/errata/ELSA-2019-2298.html
- https://linux.oracle.com/errata/ELSA-2019-3698.html
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00055.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00012.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00015.html
- http://www.securityfocus.com/bid/106324
- https://access.redhat.com/errata/RHSA-2019:2298
- https://access.redhat.com/errata/RHSA-2019:3698
- https://bugs.launchpad.net/ubuntu/+source/libarchive/+bug/1794909
- https://github.com/libarchive/libarchive/pull/1105
- https://github.com/libarchive/libarchive/pull/1105/commits/021efa522ad729ff0f5806c4ce53e4a6cc1daa31
- https://lists.debian.org/debian-lts-announce/2018/12/msg00011.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CBOCC2M6YGPZA6US43YK4INPSJZZHRTG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W645KCLWFDBDGFJHG57WOVXGE62QSIJI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVXA7PHINVT6DFF6PRLTDTVTXKDLVHNF/
- https://usn.ubuntu.com/3859-1/
- https://www.debian.org/security/2018/dsa-4360
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBOCC2M6YGPZA6US43YK4INPSJZZHRTG/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W645KCLWFDBDGFJHG57WOVXGE62QSIJI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVXA7PHINVT6DFF6PRLTDTVTXKDLVHNF/