Amazon Linux AMI : docker (ALAS-2019-1245)

high Nessus Plugin ID 127073

Synopsis

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

Description

A flaw was discovered in the API endpoint behind the 'docker cp' command. The endpoint is vulnerable to a Time Of Check to Time Of Use (TOCTOU) vulnerability in the way it handles symbolic links inside a container. An attacker who has compromised an existing container can cause arbitrary files on the host filesystem to be read/written when an administrator tries to copy a file from/to the container.
(CVE-2018-15664)

Solution

Run 'yum update docker' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2019-1245.html

Plugin Details

Severity: High

ID: 127073

File Name: ala_ALAS-2019-1245.nasl

Version: 1.3

Type: local

Agent: unix

Published: 7/26/2019

Updated: 5/8/2024

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

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.9

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

CVSS Score Source: CVE-2018-15664

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/25/2019

Vulnerability Publication Date: 5/23/2019

Reference Information

CVE: CVE-2018-15664

ALAS: 2019-1245