Off-by-one Error Affecting libarchive package, versions <0:3.3.3-1.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.54% (78th 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-3398767
  • published26 Jul 2021
  • disclosed16 Sept 2017

Introduced: 16 Sep 2017

CVE-2017-14502  (opens in a new tab)
CWE-193  (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.

read_header in archive_read_support_format_rar.c in libarchive 3.3.2 suffers from an off-by-one error for UTF-16 names in RAR archives, leading to an out-of-bounds read in archive_read_format_rar_read_header.

CVSS Scores

version 3.1