Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2021-31566: CVE-2021-31566 libarchive: symbolic links incorrectly followed when changing modes, times, ACL and flags of a file while extracting an archive (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2021-31566: CVE-2021-31566 libarchive: symbolic links incorrectly followed when changing modes, times, ACL and flags of a file while extracting an archive (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
03/15/2022
Created
03/16/2022
Added
03/16/2022
Modified
12/15/2023

Description

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.

Solution(s)

  • redhat-upgrade-bsdcat-debuginfo
  • redhat-upgrade-bsdcpio-debuginfo
  • redhat-upgrade-bsdtar
  • redhat-upgrade-bsdtar-debuginfo
  • redhat-upgrade-libarchive
  • redhat-upgrade-libarchive-debuginfo
  • redhat-upgrade-libarchive-debugsource
  • redhat-upgrade-libarchive-devel

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;