CVE-2019-15796: python-apt downloads from untrusted sources
Last updated 25 August 2025
Other sources
Python-apt doesn't check if hashes are signed in Version.fetchbinary() and Version.fetchsource() of apt/package.py or in fetcharchives() 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/python-aptto a version that resolves this vulnerability.Fixed in 1.9.5 - Upgrade
Upgrade
pip/python-aptto a version that resolves this vulnerability.Fixed in 1.9.0ubuntu1.2 - Upgrade
Upgrade
pip/python-aptto a version that resolves this vulnerability.Fixed in 1.6.5ubuntu0.1 - Upgrade
Upgrade
pip/python-aptto a version that resolves this vulnerability.Fixed in 0.9.3.5ubuntu3 - Upgrade
Upgrade
pip/python-aptto a version that resolves this vulnerability.Fixed in 0.8.3ubuntu7.5 - Upgrade
Upgrade
debian/python-aptto a version that resolves this vulnerability.Fixed in 2.2.1Fixed in 2.2.1.1Fixed in 2.6.0Fixed in 3.0.0Fixed in 3.1.0 - Upgrade
Upgrade
python-aptto a version that resolves this vulnerability.Fixed in 1.9.5 - Upgrade
Upgrade
python-aptto a version that resolves this vulnerability.Fixed in 1.9.0ubuntu1.2 - Upgrade
Upgrade
python-aptto a version that resolves this vulnerability.Fixed in 1.6.5ubuntu0.1 - Upgrade
Upgrade
python-aptto a version that resolves this vulnerability.Fixed in 1.1.0~beta1ubuntu0.16.04.7 - Upgrade
Upgrade
python-aptto a version that resolves this vulnerability.Fixed in 0.9.3.5ubuntu3+esm2 - Upgrade
Upgrade
python-aptto a version that resolves this vulnerability.Fixed in 0.8.3ubuntu7.5
Event History
Frequently Asked Questions
What is the severity of CVE-2019-15796?
CVE-2019-15796 is rated as a high severity vulnerability due to its potential to allow downloads from unsigned repositories.
How do I fix CVE-2019-15796?
To fix CVE-2019-15796, upgrade python-apt to version 1.9.5 or later.
Which versions of python-apt are affected by CVE-2019-15796?
Versions of python-apt prior to 1.9.5 are affected by CVE-2019-15796.
What types of systems are vulnerable to CVE-2019-15796?
CVE-2019-15796 affects systems running Ubuntu versions that include python-apt 1.9.3ubuntu2 and earlier.
What are the consequences of CVE-2019-15796?
The consequences of CVE-2019-15796 include the risk of installing packages from potentially untrusted sources.