CVE-2019-17109 koji hub allows arbitrary upload destinations

Medium 6.5 Published Updated

Remote attackers can exploit directory traversal in Koji to achieve privilege escalation, requiring immediate upgrades.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-17109?

CVE-2019-17109 is a medium-severity path traversal vulnerability in n/a, published on 9 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Koji through 1.18.0 allows remote Directory Traversal, with resultant Privilege Escalation.

Weakness: CWE-22

Which versions are affected by CVE-2019-17109?

11 open source packages ship an affected version, including koji. It affects 1 product.

PackageAffectedFixed in
koji PyPIAll versions1.19.0
koji PyPIFrom 1.14.01.14.3
koji PyPIFrom 1.14.01.14.3
koji PyPIFrom 1.15.01.15.3
koji PyPIFrom 1.15.01.15.3
koji PyPIFrom 1.16.01.16.3
5 more packages
koji PyPIFrom 1.16.01.16.3
koji PyPIFrom 1.17.01.17.1
koji PyPIFrom 1.17.01.17.1
koji PyPIFrom 1.18.01.18.1
koji PyPIFrom 1.18.01.18.1

Products include Koji Project Koji.

How do I fix CVE-2019-17109?

Upgrade koji to a fixed version for your release line: 1.19.0, 1.14.3, 1.15.3 or 1.16.3.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-17109 being exploited?

There is no known exploitation of CVE-2019-17109 in the wild and no public exploit code.

Sources

Also known as GHSA-7498-c9fm-g64p, MGASA-2021-0147, PYSEC-2019-183, UBUNTU-CVE-2019-17109.

Is CVE-2019-17109 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free