What’s Vulnerable › Vulnerabilities
CVE-2020-14352
- Severity: high (CVSS 8.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-08-30 · updated 2026-06-17
- Weakness: CWE-22
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
- Fedoraproject Fedora: 31, 32, 33
- openSUSE Backports Sle: 15.0-sp2
- openSUSE Leap: 15.2
- RedHat Librepo: before 1.12.1 — fixed in 1.12.1
How to fix
Upgrade to a fixed version: RedHat Librepo 1.12.1. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00072.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00055.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1866498
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33RX4P5R5YL4NZSFSE4NOX37X6YCXAS4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OOMDEQBRJ7SO2QWL7H23G3VV2VSCUYOY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XDMHVY7OMIJNSPVZ2GJWHT77Z5V3YJ55/
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00072.html
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00055.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1866498
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33RX4P5R5YL4NZSFSE4NOX37X6YCXAS4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OOMDEQBRJ7SO2QWL7H23G3VV2VSCUYOY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XDMHVY7OMIJNSPVZ2GJWHT77Z5V3YJ55/
Get alerted when CVE-2020-14352 or the next vulnerability affects your stack