Amazon Linux AMI : docker (ALAS-2021-1550)

medium Nessus Plugin ID 155354

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

The version of docker installed on the remote host is prior to 20.10.7-2.69. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2021-1550 advisory.

A flaw was found in the `userns-remap` feature of Docker. The root user in the remapped namespace can modify files under /var/lib/docker/<remapping>, leading to possible privilege escalation to the root user in the host. The highest threat from this vulnerability is to data integrity. (CVE-2021-21284)

A flaw was found in Docker. Pulling an intentionally malformed Docker image manifest could lead to a crash of the `dockerd` daemon, resulting in a denial of service. The highest threat from this vulnerability is to system availability. (CVE-2021-21285)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update docker' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2021-1550.html

https://access.redhat.com/security/cve/CVE-2021-21284

https://access.redhat.com/security/cve/CVE-2021-21285

Plugin Details

Severity: Medium

ID: 155354

File Name: ala_ALAS-2021-1550.nasl

Version: 1.3

Type: local

Agent: unix

Published: 11/15/2021

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 2.7

Temporal Score: 2

Vector: CVSS2#AV:A/AC:L/Au:S/C:N/I:P/A:N

CVSS Score Source: CVE-2021-21284

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:docker, p-cpe:/a:amazon:linux:docker-debuginfo

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/11/2021

Vulnerability Publication Date: 2/2/2021

Reference Information

CVE: CVE-2021-21284, CVE-2021-21285

ALAS: 2021-1550