Skip to content
Fencer Intel
high 8.0

CVE-2020-14352 json

A flaw was found in librepo in versions before 1.12.1.

published 6y ago modified 4mo 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

Is CVE-2020-14352 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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_2
    fixed: 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_0
    fixed: 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_1
    fixed: 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_9
    +1 more products
    Red Hat Enterprise Linux Workstation Optional (v. 7) python-librepo 1.8.1-8.el7_9
    fixed: vendor fix RHSA-2020:5012

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-09).

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

Sources

Fencer Intel 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.