CVE-2021-31566

libarchive: An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access contr...

CVE-2021-31566 is fixed in 12 products on 1 platform, first by libarchive-tools 3.4.0-2ubuntu1.1, released December 23, 2021. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0039
33rd percentile

An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to gain more privileges in a system.

Where it's fixed

ProductFixed inFixReleased
Linux
bsdcat · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
bsdcat-debuginfo · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
bsdcpio · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
bsdcpio-debuginfo · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
bsdtar · RHEL 8 0:3.3.3-3.el8_5 RHSA-2022:0892 Mar 15, 2022
bsdtar · almalinux 8 3.3.3-3.el8_5 ALSA-2022:0892 Mar 15, 2022
bsdtar · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
bsdtar · ol 8 0:3.3.3-3.el8_5 ELSA-2022-0892 Mar 16, 2022
bsdtar-debuginfo · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
libarchive · Debian 12.15 (bookworm) 3.5.2-1 DEBIAN-CVE-2021-31566 Aug 23, 2022
libarchive · Debian 13.5 (trixie) 3.5.2-1 DEBIAN-CVE-2021-31566 Aug 23, 2022
libarchive · Debian 14 3.5.2-1 DEBIAN-CVE-2021-31566 Aug 23, 2022
libarchive · RHEL 8 0:3.3.3-3.el8_5 RHSA-2022:0892 Mar 15, 2022
libarchive · almalinux 8 3.3.3-3.el8_5 ALSA-2022:0892 Mar 15, 2022
libarchive · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
libarchive · ol 8 0:3.3.3-3.el8_5 ELSA-2022-0892 Mar 16, 2022
libarchive · rocky 8 0:3.3.3-3.el8_5 RLSA-2022:0892 Mar 15, 2022
libarchive-debuginfo · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
libarchive-debugsource · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
libarchive-devel · RHEL 8 0:3.3.3-3.el8_5 RHSA-2022:0892 Mar 15, 2022
libarchive-devel · almalinux 8 3.3.3-3.el8_5 ALSA-2022:0892 Mar 15, 2022
libarchive-devel · amzn 2023 3.5.3-2.amzn2023.0.2 ALAS2023-2023-071 Feb 17, 2023
libarchive-devel · ol 8 0:3.3.3-3.el8_5 ELSA-2022-0892 Mar 16, 2022
libarchive-tools · Ubuntu 20.04 LTS (focal) 3.4.0-2ubuntu1.1 libarchive-tools 3.4.0-2ubuntu1.1 Dec 23, 2021
libarchive13 · Ubuntu 20.04 LTS (focal) 3.4.0-2ubuntu1.1 libarchive13 3.4.0-2ubuntu1.1 Dec 23, 2021

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.