Out-of-bounds Read Affecting libarchive package, versions <3.2.2-2+deb9u3


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Availability High

    Threat Intelligence

    EPSS 0.08% (33rd percentile)
Expand this section
NVD
5.5 medium
Expand this section
Red Hat
6.5 medium

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 ID SNYK-DEBIAN9-LIBARCHIVE-535358
  • published 22 Nov 2019
  • disclosed 21 Nov 2019

How to fix?

Upgrade Debian:9 libarchive to version 3.2.2-2+deb9u3 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 Debian. See How to fix? for Debian:9 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.