Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-14352

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-14352
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:29 UTC · Revision 1

Source evidence

CVE-2020-14352

core-osv · Original source

Published 30 Aug 2020, 15:15 UTC

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.

osv:CVE-2020-14352
Complete source record
{
  "id": "d59ee34445933a8a1c44695eb691d9d62d297a866b979b3d03a6c25426f85ca6",
  "url": "https://osv.dev/vulnerability/CVE-2020-14352",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-14352",
    "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.",
    "evidence": "osv:CVE-2020-14352",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-14352",
      "aliases": [
        "CVE-2020-14352"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rpm-software-management/librepo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d4ad350291f2937c0b6a3eea9e1d0c8e1051fc32"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redhat:librepo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.12.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.12.0",
            "1.11.3",
            "1.11.2",
            "1.11.1",
            "1.11.0",
            "1.10.6",
            "1.10.5",
            "1.10.3",
            "1.10.4",
            "1.10.2",
            "1.10.1",
            "1.9.6",
            "1.9.5",
            "1.9.4",
            "1.9.3",
            "1.9.2",
            "1.9.1",
            "1.9.0",
            "1.8.1",
            "1.8.0",
            "librepo-1.7.20",
            "librepo-1.7.19",
            "librepo-1.7.18",
            "librepo-1.7.17",
            "librepo-1.7.16",
            "librepo-1.7.15",
            "librepo-1.7.14",
            "librepo-1.7.13",
            "librepo-1.7.12",
            "librepo-1.7.11",
            "librepo-1.7.10",
            "librepo-1.7.9",
            "librepo-1.7.8",
            "librepo-1.7.7",
            "librepo-1.7.6",
            "librepo-1.7.5",
            "librepo-1.7.4",
            "librepo-1.7.3",
            "librepo-1.7.2",
            "librepo-1.7.1",
            "librepo-1.7.0",
            "librepo-1.6.0",
            "librepo-1.5.2",
            "librepo-1.5.1",
            "librepo-1.5.0",
            "librepo-1.4.0",
            "librepo-1.3.0",
            "librepo-1.2.1",
            "librepo-1.0.0",
            "librepo-1.2.0",
            "librepo-1.1.0",
            "librepo-0.0.4",
            "librepo-0.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-14352.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:54.078385896Z",
      "provider": "osv",
      "references": [
        "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/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1866498"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  },
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  },
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:opensuse:backports_sle:15.0:sp2:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:backports_sle",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.0-sp2"
                  },
                  {
                    "last_affected": "15.0-sp2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.2"
                  },
                  {
                    "last_affected": "15.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-14352",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 438058,
  "published_at": "2020-08-30T15:15:12.043+00:00"
}