Advisory

GHSA-pj65-3pf6-c5q4

Also known as: CVE-2019-15796

Summary

python-apt Does Not Check Hash Signature

Details

Python-apt doesn't check if hashes are signed in Version.fetch_binary() and Version.fetch_source() of apt/package.py or in _fetch_archives() of apt/cache.py in version 1.9.3ubuntu2 and earlier. This allows downloads from unsigned repositories which shouldn't be allowed and has been fixed in verisions 1.9.5, 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.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

python-apt

PyPI · All systems

Affected

  • introduced 1.9.1, fixed 1.9.5 (ecosystem)

Fixed versions

1.9.5

Fix

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

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