Out-of-bounds read in libarchive (Alpine package)



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-19221
CWE-ID CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
libarchive (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Out-of-bounds read

EUVDB-ID: #VU22931

Risk: Medium

CVSSv4.0: 1 [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]

CVE-ID: CVE-2019-19221

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libarchive (Alpine package): 3.0.2-r0 - 3.3.3-r1

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###