Amazon Linux 2 : librepo (ALAS-2020-1568)

high Nessus Plugin ID 143580

Synopsis

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

Description

The version of tested product installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2020-1568 advisory.

- A flaw was found in librepo in versions before 1.12.1. A directory traversal vulnerability was found where it failed to sanitize paths in remote repository metadata. An attacker controlling a remote repository may be able to copy files outside of the destination directory on the targeted system via path traversal. This flaw could potentially result in system compromise via the overwriting of critical system files. The highest threat from this flaw is to users that make use of untrusted third-party repositories.
(CVE-2020-14352)

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 librepo' to update your system.

See Also

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

https://access.redhat.com/security/cve/CVE-2020-14352

Plugin Details

Severity: High

ID: 143580

File Name: al2_ALAS-2020-1568.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/9/2020

Updated: 12/9/2020

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2020-14352

CVSS v3

Risk Factor: High

Base Score: 8

Temporal Score: 7

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:librepo, p-cpe:/a:amazon:linux:librepo-debuginfo, p-cpe:/a:amazon:linux:librepo-devel, p-cpe:/a:amazon:linux:python-librepo, cpe:/o:amazon:linux:2

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/8/2020

Vulnerability Publication Date: 8/30/2020

Reference Information

CVE: CVE-2020-14352

ALAS: 2020-1568