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


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Not Defined
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-CENTOS8-LIBARCHIVE-2056856
  • 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 Centos:8 libarchive to version 0:3.3.2-9.el8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive package and not the libarchive package as distributed by Centos. See How to fix? for Centos: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