Out-of-bounds Read in Libarchive
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. For example, bsdtar crashes via a crafted archive.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.007, 52.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libarchive — versions 3.4.0
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.10
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 32
Weakness classification (CWE)
References
- github.com/libarchive/libarchive/issues/1276 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/libarchive/libarchive/commit/22b1db9d46654afc6f0c28f90af8cdc84a199f41 (Patch, Third Party Advisory)
- FEDORA-2020-235688c222 (vendor-advisory)
- USN-4293-1 (vendor-advisory, Patch, Third Party Advisory)
- [debian-lts-announce] 20220430 [SECURITY] [DLA 2987-1] libarchive security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security update (mailing-list, Mailing List, Third Party Advisory)