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 vulnerability.
1) Out-of-bounds read (CVE-ID: CVE-2019-19221)
CWE-ID: CWE-125 - Out-of-bounds read
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
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