CVE-2020-14352 json
A flaw was found in librepo in versions before 1.12.1.
published 2020-08-30 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-6496
- cvss
- 8.0
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- redhat librepo 1.12.1
- librepo RHEL 7 1.8.1-8.el7_9
- python-librepo RHEL 7 1.8.1-8.el7_9
- librepo RHEL 8 1.11.0-3.el8_2
- python3-librepo RHEL 8 1.11.0-3.el8_2
- librepo RHEL 8.0 E4S 1.9.2-2.el8_0
- python3-librepo RHEL 8.0 E4S 1.9.2-2.el8_0
- librepo RHEL 8.1 EUS 1.10.3-4.el8_1
- python3-librepo RHEL 8.1 EUS 1.10.3-4.el8_1
red hat advisories RHSA-2020:5012RHSA-2020:3756RHSA-2020:3749RHSA-2020:3658
- librepo Package Hub 15 SP2 1.12.1-bp152.2.6.1
- librepo openSUSE Leap 15.2 1.12.1-lp152.2.6.1
- librepo Package Hub 15 SP2 1.11.2-bp152.2.3.1
- librepo openSUSE Leap 15.2 1.11.2-lp152.2.3.1
opensuse advisories openSUSE-SU-2021:0295-1openSUSE-SU-2021:0277-1openSUSE-SU-2020:1428-1openSUSE-SU-2020:1289-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-14352 updated cvss 8.0
librepo: missing path validation in repomd.xml may lead to directory traversal
-
Red Hat Enterprise Linux BaseOS (v. 8) librepo 1.11.0-3.el8_2, python3-librepo 1.11.0-3.el8_2fixed: vendor fix RHSA-2020:3658
-
Red Hat Enterprise Linux BaseOS E4S (v. 8.0) librepo 1.9.2-2.el8_0, python3-librepo 1.9.2-2.el8_0fixed: vendor fix RHSA-2020:3756
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.1) librepo 1.10.3-4.el8_1, python3-librepo 1.10.3-4.el8_1fixed: vendor fix RHSA-2020:3749
-
Red Hat Enterprise Linux Client (v. 7) librepo 1.8.1-8.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) python-librepo 1.8.1-8.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) librepo 1.8.1-8.el7_9, python-librepo 1.8.1-8.el7_9 Red Hat Enterprise Linux Server (v. 7) librepo 1.8.1-8.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) python-librepo 1.8.1-8.el7_9 Red Hat Enterprise Linux Workstation (v. 7) librepo 1.8.1-8.el7_9fixed: vendor fix RHSA-2020:5012
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 7) python-librepo 1.8.1-8.el7_9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.53% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 8.5 | AV:N/AC:M/Au:S/C:C/I:C/A:C |
Affected products
- n/a librepo
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1866498
issue-tracking, patch, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-08/msg00072.html
mailing-list, patch, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-09/msg00055.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/OOMDEQBRJ7SO2QWL7H23G3VV2VSCUYOY/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/33RX4P5R5YL4NZSFSE4NOX37X6YCXAS4/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/XDMHVY7OMIJNSPVZ2GJWHT77Z5V3YJ55/
vendor-advisory
Sources
- CVE List CVE-2020-14352
- NVD CVE-2020-14352
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.