CVE-2020-21674
Heap-based buffer overflow in archive_string_append_from_wcs() (archive_string.c) in libarchive-3.4.1dev allows remote attackers to cause a denial of service (out-of-bounds write in heap memory resulting into a crash) via a crafted archive file. NOTE: this only affects users who downloaded the development code from GitHub. Users of the product's official releases are unaffected.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | libarchive | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 8 | bsdtar | Not affected | ||
| Red Hat Enterprise Linux 8 | libarchive | Not affected | ||
| Red Hat Enterprise Linux 8 | libarchive-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bsdcpio | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | bsdtar | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libarchive | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libarchive-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libarchive | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libarchive-devel | Will not fix Out of support scope |
References
- https://github.com/libarchive/libarchive/issues/1298
- https://github.com/libarchive/libarchive/commit/4f085eea879e2be745f4d9bf57e8513ae48157f4
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.