Skip to content
OpenAdvisories
Unscored CVE-2020-14352 EUVD-2020-6496GHSA-2fcv-8cvq-hmxh

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 r…

Published Aug 30, 2020 · Updated Aug 4, 2024 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— librepo librepo versions before 1.12.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 8 librepo +1 1.11.0-3.el8_2 RHSA-2020:3658
RHEL 7 librepo +2 1.8.1-8.el7_9 RHSA-2020:5012
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.1 EUS librepo +1 1.10.3-4.el8_1 RHSA-2020:3749
RHEL 8.0 E4S librepo +1 1.9.2-2.el8_0 RHSA-2020:3756
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 librepo 1.11.2-bp152.2.3.1 openSUSE-SU-2021:0295-1, openSUSE-SU-2020:1428-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 librepo 1.11.2-lp152.2.3.1 openSUSE-SU-2021:0277-1, openSUSE-SU-2020:1289-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 librepo +2 1.8.1-8.amzn2 ALAS2-2020-1568

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 librepo +1 1.11.0-3.el8_2 ELSA-2020-3658
Oracle Linux 7 librepo +2 1.8.1-8.el7_9 ELSA-2020-5012

Advisories 12

References