Skip to main content
← All vulnerabilities
CVE-2019-15796GHSA-PJ65-3PF6-C5Q4

python-apt downloads from untrusted sources

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.3ubuntu7.5, 0.9.3.5ubuntu3+esm2, 1.1.0~beta1ubuntu0.16.04.7, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Canonical Python-apt

    From 0.8.3 · fixed in 0.8.3ubuntu7.5; From 0.9.3.5 · fixed in 0.9.3.5ubuntu3+esm2; From 1.1.0 · fixed in 1.1.0~beta1ubuntu0.16.04.7; From 1.6.5 · fixed in 1.6.5ubuntu0.1; From 1.9.0 · fixed in 1.9.0ubuntu1.2; From 1.9.5 · fixed in 1.9.5

  • python-aptPyPI

    fixed in 0.8.3ubuntu7.5

  • python-aptPyPI

    From 0.9.0 · fixed in 0.9.3.5ubuntu3

  • python-aptPyPI

    From 1.2.0 · fixed in 1.6.5ubuntu0.1

  • python-aptPyPI

    From 1.7.0 · fixed in 1.9.0ubuntu1.2

  • python-aptPyPI

    From 1.9.1 · fixed in 1.9.5

References 2

usn.ubuntu.com