Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libarchive | Libarchive | 3.4.0 |
| Debian | Debian Linux | 9.0 |
| Fedoraproject | Fedora | 32 |
| Canonical | Ubuntu Linux | 16.04 |
Related Weaknesses (CWE)
References
- https://github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc8PatchThird Party Advisory
- https://github.com/libarchive/libarchive/issues/1276ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/04/msg00020.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://usn.ubuntu.com/4293-1/PatchThird Party Advisory
- https://github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc8PatchThird Party Advisory
- https://github.com/libarchive/libarchive/issues/1276ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/04/msg00020.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00030.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://usn.ubuntu.com/4293-1/PatchThird Party Advisory
FAQ
What is CVE-2019-19221?
CVE-2019-19221 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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.
How severe is CVE-2019-19221?
CVE-2019-19221 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-19221?
Check the references section above for vendor advisories and patch information. Affected products include: Libarchive Libarchive, Debian Debian Linux, Fedoraproject Fedora, Canonical Ubuntu Linux.