Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. koji
  4. ›
  5. CVE-2019-17109

CVE-2019-17109: koji hub allows arbitrary upload destinations

May 24, 2022 (updated September 27, 2024)

The way that the hub code validates upload paths allows for an attacker to choose an arbitrary destination for the uploaded file. Uploading still requires login. However, an attacker with credentials could damage the integrity of the Koji system.

References

  • docs.pagure.org/koji/CVE-2019-17109
  • github.com/advisories/GHSA-7498-c9fm-g64p
  • github.com/koji-project/koji
  • github.com/koji-project/koji/blob/d0507c4d2d2269daa984db642e3bd957dff18948/docs/source/CVEs/CVE-2019-17109.rst
  • github.com/koji-project/koji/commit/91d6f0b607c7f5af666dfb56931f1db4e38c28a5
  • github.com/pypa/advisory-database/tree/main/vulns/koji/PYSEC-2019-183.yaml
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4BGUXMZIAQFFNNQ7PEFDAYQCXXKJR76U
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7PSCCFHLNVFLDPC7DB4UJGXD6ZWBSY57
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DEQYYGWLJBQQVTAC7E7XSDGVF27NPMPB
  • nvd.nist.gov/vuln/detail/CVE-2019-17109
  • pagure.io/koji/commits/master
  • pagure.io/koji/issue/1634
  • pagure.io/koji/pull-request/1686

Code Behaviors & Features

Detect and mitigate CVE-2019-17109 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.14.0 before 1.14.3, all versions starting from 1.15.0 before 1.15.3, all versions starting from 1.16.0 before 1.16.3, all versions starting from 1.17.0 before 1.17.1, all versions starting from 1.18.0 before 1.18.1

Fixed versions

  • 1.14.3
  • 1.15.3
  • 1.16.3
  • 1.17.1
  • 1.18.1

Solution

Upgrade to versions 1.14.3, 1.15.3, 1.16.3, 1.17.1, 1.18.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/koji/CVE-2019-17109.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:04 +0000.