Amazon Linux 2 Security Advisory: ALASDOCKER-2021-014
Advisory Release Date: 2021-11-17 16:15 Pacific
Advisory Updated Date: 2021-11-18 21:29 Pacific
In the OCI Distribution Specification version 1.0.0 and prior and in the OCI Image Specification version 1.0.1 and prior, manifest and index documents are ambiguous without an accompanying Content-Type HTTP header. Versions of Moby (Docker Engine) prior to 20.10.11 and versions of containerd prior to 1.4.12 and 1.5.8 treat the Content-Type header as trusted and deserialize the document according to that header. If the Content-Type header changed between pulls of the same ambiguous document (with the same digest), the document may be interpreted differently, meaning that the digest alone is insufficient to unambiguously identify the content of the image. (CVE-2021-41190)
Affected Packages:
containerd, docker
Note:
This advisory is applicable to Amazon Linux 2 - Docker 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.
Run yum update docker to update your system.
aarch64:
containerd-1.4.6-7.amzn2.aarch64
containerd-stress-1.4.6-7.amzn2.aarch64
containerd-debuginfo-1.4.6-7.amzn2.aarch64
docker-20.10.7-5.amzn2.aarch64
docker-debuginfo-20.10.7-5.amzn2.aarch64
src:
containerd-1.4.6-7.amzn2.src
docker-20.10.7-5.amzn2.src
x86_64:
containerd-1.4.6-7.amzn2.x86_64
containerd-stress-1.4.6-7.amzn2.x86_64
containerd-debuginfo-1.4.6-7.amzn2.x86_64
docker-20.10.7-5.amzn2.x86_64
docker-debuginfo-20.10.7-5.amzn2.x86_64