Amazon Linux AMI : keepalived (ALAS-2020-1414)

medium Nessus Plugin ID 139548

Synopsis

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

Description

The version of keepalived installed on the remote host is prior to 1.2.13-8.5. It is, therefore, affected by a vulnerability as referenced in the ALAS-2020-1414 advisory.

keepalived 2.0.8 didn't check for pathnames with symlinks when writing data to a temporary file upon a call to PrintData or PrintStats. This allowed local users to overwrite arbitrary files if fs.protected_symlinks is set to 0, as demonstrated by a symlink from /tmp/keepalived.data or /tmp/keepalived.stats to /etc/passwd. (CVE-2018-19044)



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

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

Solution

Run 'yum update keepalived' to update your system.

See Also

https://access.redhat.com/security/cve/CVE-2018-19044

https://alas.aws.amazon.com/ALAS-2020-1414.html

Plugin Details

Severity: Medium

ID: 139548

File Name: ala_ALAS-2020-1414.nasl

Version: 1.4

Type: local

Agent: unix

Published: 8/13/2020

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: 3.3

Temporal Score: 2.6

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

CVSS Score Source: CVE-2018-19044

CVSS v3

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 4.2

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

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

Vulnerability Information

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

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: 8/12/2020

Vulnerability Publication Date: 11/8/2018

Reference Information

CVE: CVE-2018-19044

ALAS: 2020-1414