Advisory

GHSA-rp8m-h266-53jh

Also known as: CVE-2019-15795

Summary

python-apt Flawed Package Integrity Check

Details

python-apt only checks the MD5 sums of downloaded files in Version.fetch_binary() and Version.fetch_source() of apt/package.py in version 1.9.0ubuntu1 and earlier. This allows a man-in-the-middle attack which could potentially be used to install altered packages and has been fixed in versions 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0~beta1ubuntu0.16.04.7, 0.9.3.5ubuntu3+esm2, and 0.8.3ubuntu7.5.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 17:12 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

python-apt

PyPI · All systems

Affected

  • introduced 0, fixed 0.8.3ubuntu7.5 (ecosystem)

Fixed versions

0.8.3ubuntu7.5

Fix

  • Fixed version 0.8.3ubuntu7.5
    pip install --upgrade python-apt==0.8.3ubuntu7.5

python-apt

PyPI · All systems

Affected

  • introduced 0.9.0, fixed 0.9.3.5ubuntu3 (ecosystem)

Fixed versions

0.9.3.5ubuntu3

Fix

  • Fixed version 0.9.3.5ubuntu3
    pip install --upgrade python-apt==0.9.3.5ubuntu3

python-apt

PyPI · All systems

Affected

  • introduced 1.0.0, fixed 1.1.0 (ecosystem)

Fixed versions

1.1.0

Fix

  • Fixed version 1.1.0
    pip install --upgrade python-apt==1.1.0

python-apt

PyPI · All systems

Affected

  • introduced 1.2.0, fixed 1.6.5ubuntu0.1 (ecosystem)

Fixed versions

1.6.5ubuntu0.1

Fix

  • Fixed version 1.6.5ubuntu0.1
    pip install --upgrade python-apt==1.6.5ubuntu0.1

python-apt

PyPI · All systems

Affected

  • introduced 1.7.0, fixed 1.9.0ubuntu1.2 (ecosystem)

Fixed versions

1.9.0ubuntu1.2

Fix

  • Fixed version 1.9.0ubuntu1.2
    pip install --upgrade python-apt==1.9.0ubuntu1.2

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