ALAS2-2020-1568


Amazon Linux 2 Security Advisory: ALAS-2020-1568
Advisory Release Date: 2020-12-08 20:55 Pacific
Advisory Updated Date: 2020-12-08 22:36 Pacific
Severity: Important

Issue Overview:

A flaw was found in librepo. 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)


Affected Packages:

librepo


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update librepo to update your system.

New Packages:
aarch64:
    librepo-1.8.1-8.amzn2.aarch64
    librepo-devel-1.8.1-8.amzn2.aarch64
    python-librepo-1.8.1-8.amzn2.aarch64
    librepo-debuginfo-1.8.1-8.amzn2.aarch64

i686:
    librepo-1.8.1-8.amzn2.i686
    librepo-devel-1.8.1-8.amzn2.i686
    python-librepo-1.8.1-8.amzn2.i686
    librepo-debuginfo-1.8.1-8.amzn2.i686

src:
    librepo-1.8.1-8.amzn2.src

x86_64:
    librepo-1.8.1-8.amzn2.x86_64
    librepo-devel-1.8.1-8.amzn2.x86_64
    python-librepo-1.8.1-8.amzn2.x86_64
    librepo-debuginfo-1.8.1-8.amzn2.x86_64