GitHub Advisoryadvisory · PyPI

GHSA-7498-c9fm-g64p koji hub allows arbitrary upload destinations

HIGH Published 2022-05-24 Modified 2024-09-27 Official page ↗
Aliases
CVE-2019-17109
Ecosystem
PyPI
Packages
koji
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-22
Reviewed
2024-04-29

Affected packages

• PyPI koji: >= 1.14.0, < 1.14.3 → fixed in 1.14.3 • PyPI koji: >= 1.15.0, < 1.15.3 → fixed in 1.15.3 • PyPI koji: >= 1.16.0, < 1.16.3 → fixed in 1.16.3 • PyPI koji: >= 1.17.0, < 1.17.1 → fixed in 1.17.1 • PyPI koji: >= 1.18.0, < 1.18.1 → fixed in 1.18.1

Description

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. Workaround There is no known workaround. All Koji admins are encouraged to update to a fixed version as soon as possible. Fix Koji versions 1.14.3, 1.15.3, 1.16.3, 1.17.1, and 1.18.1 all include patches to solve this vulnerability.

Related

Alias · CVE (1)

  • CVE-2019-17109 Koji through 1.18.0 allows remote Directory Traversal, with resultant Privilege Escalation. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References