Out-of-bounds Read Affecting libarchive package, versions <3.2.2-3.1ubuntu0.6


Severity

Recommended
low

Based on Ubuntu 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-UBUNTU1804-LIBARCHIVE-535417
  • published22 Nov 2019
  • 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 Ubuntu:18.04 libarchive to version 3.2.2-3.1ubuntu0.6 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 Ubuntu. See How to fix? for Ubuntu:18.04 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