Advisory

GHSA-7498-c9fm-g64p

Also known as: CVE-2019-17109, PYSEC-2019-183

Summary

koji hub allows arbitrary upload destinations

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 16:58 UTC
Modified
2024-09-27 18:35 UTC

Affected packages and fixes

koji

PyPI · All systems

Affected

  • introduced 1.14.0, fixed 1.14.3 (ecosystem)

Fixed versions

1.14.3

Fix

  • Fixed version 1.14.3
    pip install --upgrade koji==1.14.3

koji

PyPI · All systems

Affected

  • introduced 1.15.0, fixed 1.15.3 (ecosystem)

Fixed versions

1.15.3

Fix

  • Fixed version 1.15.3
    pip install --upgrade koji==1.15.3

koji

PyPI · All systems

Affected

  • introduced 1.16.0, fixed 1.16.3 (ecosystem)

Fixed versions

1.16.3

Fix

  • Fixed version 1.16.3
    pip install --upgrade koji==1.16.3

koji

PyPI · All systems

Affected

  • introduced 1.17.0, fixed 1.17.1 (ecosystem)

Fixed versions

1.17.1

Fix

  • Fixed version 1.17.1
    pip install --upgrade koji==1.17.1

koji

PyPI · All systems

Affected

  • introduced 1.18.0, fixed 1.18.1 (ecosystem)

Fixed versions

1.18.1

Fix

  • Fixed version 1.18.1
    pip install --upgrade koji==1.18.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences