CVE-2017-1002153 Koji blacklisted paths workaround

High 7.5 Published Updated

Attackers can bypass blacklisted SCM paths in Koji to submit unauthorized builds, compromising build integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-1002153?

CVE-2017-1002153 is a high-severity path traversal vulnerability in Koji, published on 6 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Koji 1.13.0 does not properly validate SCM paths, allowing an attacker to work around blacklisted paths for build submission.

Weakness: CWE-20

Which versions are affected by CVE-2017-1002153?

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

PackageAffectedFixed in
koji PyPIAll versions1.15.0
koji PyPIAll versions1.15.0

Products include Koji Project Koji.

How do I fix CVE-2017-1002153?

Upgrade koji to 1.15.0 or later.

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

Is CVE-2017-1002153 being exploited?

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

Sources

Also known as GHSA-vwp5-w4rq-g4cc, UBUNTU-CVE-2017-1002153.

Is CVE-2017-1002153 in your software?

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

Check your SBOMs for free