cve.bz

CVE-2020-14352 Path traversal

8.0 highEPSS 2.5%Fix available

High (8.0). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.0 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-14352 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-14352?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-14352?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-14352 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:librepobefore 1.12.1
opensuse:backports_sle15.0:sp2
opensuse:leap15.2
fedoraproject:fedora31
fedoraproject:fedora32
fedoraproject:fedora33

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibrepo, librepo-devel, python-librepo and 1 more0:1.8.1-8.el7_9RHSA-2020:5012
Red Hatenterprise_linux:8::baseoslibrepo, python3-librepo, librepo-debuginfo and 2 more0:1.11.0-3.el8_2RHSA-2020:3658
Red Hatrhel_e4s:8.0::baseoslibrepo, python3-librepo, librepo-debuginfo and 2 more0:1.9.2-2.el8_0RHSA-2020:3756
Red Hatrhel_eus:8.1::baseoslibrepo, python3-librepo, librepo-debuginfo and 2 more0:1.10.3-4.el8_1RHSA-2020:3749
SUSEPackage Hub 15 SP2librepo1.11.2-bp152.2.3.1openSUSE-SU-2020:1428-1
SUSEPackage Hub 15 SP2librepo1.12.1-bp152.2.6.1openSUSE-SU-2021:0295-1
openSUSELeap 15.2librepo1.11.2-lp152.2.3.1openSUSE-SU-2020:1289-1
openSUSELeap 15.2librepo1.12.1-lp152.2.6.1openSUSE-SU-2021:0277-1

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue is rated as having Moderate impact on Red Hat Enterprise Linux 7 because `DNF` is not installed by default. The `DNF` package is available through the Extras channel as an enhancement to YUM 3. Both Fedora and Red Hat Enterprise Linux leverage transport security and package signatures to ship software to their users in a safe way.

Fedora provides a centralized, non-mirrored Fedora-run metalink service which provides a list if active mirrors and the expected cryptographic digest of the `repomd.xml` files. yum uses this information to select a mirror and verify that it serves the up-to-date, untampered `repomd.xml`. The chain of cryptographic digests is verified from there, eventually leading to verification of the .rpm file contents.

Red Hat uses a different option to distribute Red Hat Enterprise Linux and its RPM-based products: a content-distribution network, managed by a trusted third party. Furthermore, the repositories provided by Red Hat use a separate public key infrastructure which is managed by Red Hat. For further information, refer to the following articles.

[1] https://access.redhat.com/blogs/766093/posts/1976693

[2] https://access.redhat.com/articles/1373143

Red Hat's mitigation

Avoid downloading software from untrusted third-party mirrors. Note that under normal circumstances, this flaw does not pose any threat to Red Hat users, as repositories are fully trusted and controlled by Red Hat.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7librepo-0:1.8.1-8.el7_9Fixed 2020-11-10RHSA-2020:5012
Red Hat Enterprise Linux 8librepo-0:1.11.0-3.el8_2Fixed 2020-09-08RHSA-2020:3658
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionslibrepo-0:1.9.2-2.el8_0Fixed 2020-09-15RHSA-2020:3756
Red Hat Enterprise Linux 8.1 Extended Update Supportlibrepo-0:1.10.3-4.el8_1Fixed 2020-09-15RHSA-2020:3749

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-14352.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON