Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2021-38185: Security patch for cpio (ALAS-2023-1972)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Amazon Linux AMI 2: CVE-2021-38185: Security patch for cpio (ALAS-2023-1972)

Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
08/08/2021
Created
03/08/2023
Added
03/07/2023
Modified
03/07/2023

Description

GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear whether there are common cases where the pattern file, associated with the -E option, is untrusted data.

Solution(s)

  • amazon-linux-ami-2-upgrade-cpio
  • amazon-linux-ami-2-upgrade-cpio-debuginfo

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

;