vulnerability

Amazon Linux AMI 2: CVE-2021-31566: Security patch for libarchive (ALAS-2023-2374)

Severity
7
CVSS
(AV:L/AC:M/Au:N/C:C/I:C/A:C)
Published
Aug 23, 2022
Added
Dec 5, 2023
Modified
Jan 28, 2025

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.

Solutions

amazon-linux-ami-2-upgrade-bsdcpioamazon-linux-ami-2-upgrade-bsdtaramazon-linux-ami-2-upgrade-libarchiveamazon-linux-ami-2-upgrade-libarchive-debuginfoamazon-linux-ami-2-upgrade-libarchive-devel
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.