Amazon Linux 2 Security Advisory: ALASECS-2025-060
Advisory Released Date: 2025-04-29
Advisory Updated Date: 2025-04-29
Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB. (CVE-2022-2879)
Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected. (CVE-2022-41715)
Affected Packages:
containerd
Note:
This advisory is applicable to Amazon Linux 2 - Ecs Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update containerd to update your system.
aarch64:
containerd-1.6.8-1.amzn2.0.1.aarch64
containerd-stress-1.6.8-1.amzn2.0.1.aarch64
containerd-debuginfo-1.6.8-1.amzn2.0.1.aarch64
src:
containerd-1.6.8-1.amzn2.0.1.src
x86_64:
containerd-1.6.8-1.amzn2.0.1.x86_64
containerd-stress-1.6.8-1.amzn2.0.1.x86_64
containerd-debuginfo-1.6.8-1.amzn2.0.1.x86_64