SB2020031158 - Out-of-bounds read in libarchive (Alpine package)
Published: March 11, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Out-of-bounds read (CVE-ID: CVE-2019-19221)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition in "archive_wstring_append_from_mbs" in "archive_string.c" because of an incorrect "mbrtowc" or "mbtowc" call. A remote attacker can create a specially crafted archive file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=506fdf8e27ee0848f75064cf565b15e53f894446
- https://git.alpinelinux.org/aports/commit/?id=ba6aa5f82728e1979741c480f72c2f355662ad6d
- https://git.alpinelinux.org/aports/commit/?id=e5273f8295397832bf69ffe39f1004a73f5e0436
- https://git.alpinelinux.org/aports/commit/?id=02b0001e987edf632c25303d284508c6e8702a16
- https://git.alpinelinux.org/aports/commit/?id=05f80bc8c49760714cad169f99ea7962086e3048