Out-of-bounds Read Affecting libarchive package, versions <3.2.2-2+deb9u3
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Availability
High
Threat Intelligence
EPSS
0.08% (33rd
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 ID SNYK-DEBIAN9-LIBARCHIVE-535358
- published 22 Nov 2019
- disclosed 21 Nov 2019
Introduced: 21 Nov 2019
CVE-2019-19221 Open this link in a new tabHow 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.
References
- https://security-tracker.debian.org/tracker/CVE-2019-19221
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RHFV25AVTASTWZRF3KTSL357AQ6TYHM4/
- https://github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41
- https://github.com/libarchive/libarchive/issues/1276
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2019-19221
- https://usn.ubuntu.com/4293-1/
- https://lists.debian.org/debian-lts-announce/2022/04/msg00020.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RHFV25AVTASTWZRF3KTSL357AQ6TYHM4/