Amazon Linux 2023 Security Advisory: ALAS2023-2023-021
Advisory Released Date: 2023-03-22
Advisory Updated Date: 2023-03-22
Severity:
Medium
Issue Overview:
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. (CVE-2021-38185)
Affected Packages:
cpio
Issue Correction:
Run dnf update cpio --releasever=2023.0.20230222 to update your system.
New Packages:
aarch64:
cpio-debuginfo-2.13-13.amzn2023.0.2.aarch64
cpio-2.13-13.amzn2023.0.2.aarch64
cpio-debugsource-2.13-13.amzn2023.0.2.aarch64
src:
cpio-2.13-13.amzn2023.0.2.src
x86_64:
cpio-debuginfo-2.13-13.amzn2023.0.2.x86_64
cpio-2.13-13.amzn2023.0.2.x86_64
cpio-debugsource-2.13-13.amzn2023.0.2.x86_64