medium5.5
CVE-2019-19221
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.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Libarchive | Libarchive | Version 3.4.0 |
| Debian | Debian Linux | Versions 9.0, 10.0 |
| Fedoraproject | Fedora | Version 32 |
| Canonical | Ubuntu Linux | Versions 16.04, 18.04, 19.10 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41
- https://github.com/libarchive/libarchive/issues/1276
- 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/
- https://usn.ubuntu.com/4293-1/
- https://github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41
- https://github.com/libarchive/libarchive/issues/1276
- 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/
- https://usn.ubuntu.com/4293-1/