Heap-based Buffer Overflow Affecting libarchive package, versions <0:3.1.2-10.el7_2


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.44% (87th percentile)

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 IDSNYK-RHEL7-LIBARCHIVE-5078427
  • published26 Jul 2021
  • disclosed19 Jun 2016

Introduced: 19 Jun 2016

CVE-2016-4302  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:7 libarchive to version 0:3.1.2-10.el7_2 or higher.
This issue was patched in RHSA-2016:1844.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive package and not the libarchive package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a RAR file with a zero-sized dictionary.