CVE-2019-15796: python-apt downloads from untrusted sources

Published Mar 26, 2020
·
Updated

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

152 affected componentsFixes available
pip/python-apt>=1.9.1<1.9.5
1.9.5
pip/python-apt>=1.7.0<1.9.0ubuntu1.2
1.9.0ubuntu1.2
pip/python-apt>=1.2.0<1.6.5ubuntu0.1
1.6.5ubuntu0.1
pip/python-apt>=0.9.0<0.9.3.5ubuntu3
0.9.3.5ubuntu3
pip/python-apt<0.8.3ubuntu7.5
0.8.3ubuntu7.5
All of the following
Any of the following
Ubuntu Python-apt=0.8.0-ubuntu9
Ubuntu Python-apt=0.8.1-ubuntu1
Ubuntu Python-apt=0.8.3-ubuntu1
Ubuntu Python-apt=0.8.3-ubuntu2
Ubuntu Python-apt=0.8.3-ubuntu3
Ubuntu Python-apt=0.8.3-ubuntu4
Ubuntu Python-apt=0.8.3-ubuntu5
Ubuntu Python-apt=0.8.3-ubuntu6
Ubuntu Python-apt=0.8.3-ubuntu7
Ubuntu Python-apt=0.8.3-ubuntu7.1
Ubuntu Python-apt=0.8.3-ubuntu7.2
Ubuntu Python-apt=0.8.3-ubuntu7.3
Canonical Ubuntu Linux=12.04
All of the following
Any of the following
Ubuntu Python-apt=0.8.9.1
Ubuntu Python-apt=0.8.9.1-ubuntu1
Ubuntu Python-apt=0.9.0
Ubuntu Python-apt=0.9.1
Ubuntu Python-apt=0.9.1-build1
Ubuntu Python-apt=0.9.1-build2
Ubuntu Python-apt=0.9.1-ubuntu1
Ubuntu Python-apt=0.9.3.1
Ubuntu Python-apt=0.9.3.2
Ubuntu Python-apt=0.9.3.2-ubuntu1
Ubuntu Python-apt=0.9.3.2-ubuntu2
Ubuntu Python-apt=0.9.3.3
Ubuntu Python-apt=0.9.3.3-ubuntu1
Ubuntu Python-apt=0.9.3.4
Ubuntu Python-apt=0.9.3.4-build1
Ubuntu Python-apt=0.9.3.5
Ubuntu Python-apt=0.9.3.5-ubuntu1
Ubuntu Python-apt=0.9.3.5-ubuntu2
Ubuntu Python-apt=0.9.3.5-ubuntu3
Canonical Ubuntu Linux=14.04
All of the following
Any of the following
Ubuntu Python-apt=1.0.1-build1
Ubuntu Python-apt=1.0.1-ubuntu1
Ubuntu Python-apt=1.0.1-ubuntu2
Ubuntu Python-apt=1.1.0-beta1
Ubuntu Python-apt=1.1.0-beta1build1
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.1
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.2
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.3
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.4
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.5
Canonical Ubuntu Linux=16.04
All of the following
Any of the following
Debian Python-apt=1.8.4
Ubuntu Python-apt=1.4.0
Ubuntu Python-apt=1.4.0-beta3build2
Ubuntu Python-apt=1.4.0-beta3ubuntu1
Ubuntu Python-apt=1.6.0
Ubuntu Python-apt=1.6.0-rc1
Ubuntu Python-apt=1.6.0-rc2ubuntu1
Ubuntu Python-apt=1.6.0-rc2ubuntu2
Ubuntu Python-apt=1.6.0-rc3
Ubuntu Python-apt=1.6.1
Ubuntu Python-apt=1.6.2
Ubuntu Python-apt=1.6.3
Ubuntu Python-apt=1.6.3-ubuntu1
Ubuntu Python-apt=1.6.4
Ubuntu Python-apt=1.8.4
Canonical Ubuntu Linux=18.04
All of the following
Any of the following
Ubuntu Python-apt=1.8.4
Ubuntu Python-apt=1.9.0-alpha0\~ubuntu1
Ubuntu Python-apt=1.9.0-alpha0\~ubuntu2
Ubuntu Python-apt=1.9.0-ubuntu1
Canonical Ubuntu Linux=19.10
All of the following
Any of the following
Ubuntu Python-apt=1.7.0
Ubuntu Python-apt=1.8.0
Ubuntu Python-apt=1.8.0-alpha0\~ubuntu1
Ubuntu Python-apt=1.8.0-alpha0\~ubuntu2
Ubuntu Python-apt=1.8.1
Ubuntu Python-apt=1.8.2
Ubuntu Python-apt=1.8.3
Ubuntu Python-apt=1.8.4
Canonical Ubuntu Linux=19.04
Ubuntu Python-apt=0.8.0-ubuntu9
Ubuntu Python-apt=0.8.1-ubuntu1
Ubuntu Python-apt=0.8.3-ubuntu1
Ubuntu Python-apt=0.8.3-ubuntu2
Ubuntu Python-apt=0.8.3-ubuntu3
Ubuntu Python-apt=0.8.3-ubuntu4
Ubuntu Python-apt=0.8.3-ubuntu5
Ubuntu Python-apt=0.8.3-ubuntu6
Ubuntu Python-apt=0.8.3-ubuntu7
Ubuntu Python-apt=0.8.3-ubuntu7.1
Ubuntu Python-apt=0.8.3-ubuntu7.2
Ubuntu Python-apt=0.8.3-ubuntu7.3
Canonical Ubuntu Linux=12.04
Ubuntu Python-apt=0.8.9.1
Ubuntu Python-apt=0.8.9.1-ubuntu1
Ubuntu Python-apt=0.9.0
Ubuntu Python-apt=0.9.1
Ubuntu Python-apt=0.9.1-build1
Ubuntu Python-apt=0.9.1-build2
Ubuntu Python-apt=0.9.1-ubuntu1
Ubuntu Python-apt=0.9.3.1
Ubuntu Python-apt=0.9.3.2
Ubuntu Python-apt=0.9.3.2-ubuntu1
Ubuntu Python-apt=0.9.3.2-ubuntu2
Ubuntu Python-apt=0.9.3.3
Ubuntu Python-apt=0.9.3.3-ubuntu1
Ubuntu Python-apt=0.9.3.4
Ubuntu Python-apt=0.9.3.4-build1
Ubuntu Python-apt=0.9.3.5
Ubuntu Python-apt=0.9.3.5-ubuntu1
Ubuntu Python-apt=0.9.3.5-ubuntu2
Ubuntu Python-apt=0.9.3.5-ubuntu3
Canonical Ubuntu Linux=14.04
Ubuntu Python-apt=1.0.1-build1
Ubuntu Python-apt=1.0.1-ubuntu1
Ubuntu Python-apt=1.0.1-ubuntu2
Ubuntu Python-apt=1.1.0-beta1
Ubuntu Python-apt=1.1.0-beta1build1
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.1
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.2
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.3
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.4
Ubuntu Python-apt=1.1.0-beta1ubuntu0.16.04.5
Canonical Ubuntu Linux=16.04
Debian Python-apt=1.8.4
Ubuntu Python-apt=1.4.0
Ubuntu Python-apt=1.4.0-beta3build2
Ubuntu Python-apt=1.4.0-beta3ubuntu1
Ubuntu Python-apt=1.6.0
Ubuntu Python-apt=1.6.0-rc1
Ubuntu Python-apt=1.6.0-rc2ubuntu1
Ubuntu Python-apt=1.6.0-rc2ubuntu2
Ubuntu Python-apt=1.6.0-rc3
Ubuntu Python-apt=1.6.1
Ubuntu Python-apt=1.6.2
Ubuntu Python-apt=1.6.3
Ubuntu Python-apt=1.6.3-ubuntu1
Ubuntu Python-apt=1.6.4
Ubuntu Python-apt=1.8.4
Canonical Ubuntu Linux=18.04
Ubuntu Python-apt=1.9.0-alpha0\~ubuntu1
Ubuntu Python-apt=1.9.0-alpha0\~ubuntu2
Ubuntu Python-apt=1.9.0-ubuntu1
Canonical Ubuntu Linux=19.10
Ubuntu Python-apt=1.7.0
Ubuntu Python-apt=1.8.0
Ubuntu Python-apt=1.8.0-alpha0\~ubuntu1
Ubuntu Python-apt=1.8.0-alpha0\~ubuntu2
Ubuntu Python-apt=1.8.1
Ubuntu Python-apt=1.8.2
Ubuntu Python-apt=1.8.3
Canonical Ubuntu Linux=19.04
debian/python-apt
2.2.12.2.1.12.6.03.0.03.1.0

Remediation

Event History

Mar 26, 2020
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionSeverityWeakness
May 24, 2022
Advisory Published
05:12 PM
Jan 11, 2024
Data Sourced
via Launchpad·11:20 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·11:42 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·11:43 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2019-15796?

To fix CVE-2019-15796, upgrade python-apt to version 1.9.5 or later.

3

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.

4

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.

5

What are the consequences of CVE-2019-15796?

The consequences of CVE-2019-15796 include the risk of installing packages from potentially untrusted sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203