Heap-based Buffer Overflow Affecting libarchive package, versions <0:3.3.3-1.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.17% (93rd 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-RHEL8-LIBARCHIVE-3400085
  • published26 Jul 2021
  • disclosed5 Sept 2017

Introduced: 5 Sep 2017

CVE-2017-14166  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:8 libarchive to version 0:3.3.3-1.el8 or higher.
This issue was patched in RHEA-2021:1580.

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:8 relevant fixed versions and status.

libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data heap-based buffer over-read and application crash) via a crafted xar archive, related to the mishandling of empty strings in the atol8 function in archive_read_support_format_xar.c.