Out-of-bounds Read Affecting libarchive package, versions <0:3.3.2-9.el8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.1% (44th 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-1447115
  • published26 Jul 2021
  • disclosed21 Nov 2019

Introduced: 21 Nov 2019

CVE-2019-19221  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade RHEL:8 libarchive to version 0:3.3.2-9.el8 or higher.
This issue was patched in RHSA-2020:4443.

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.

In Libarchive 3.4.0, archive_wstring_append_from_mbs in archive_string.c has an out-of-bounds read because of an incorrect mbrtowc or mbtowc call. For example, bsdtar crashes via a crafted archive.

CVSS Scores

version 3.1