Advisory Published

USN-4247-1: python-apt vulnerabilities

First published: Wed Jan 22 2020(Updated: )

It was discovered that python-apt would still use MD5 hashes to validate certain downloaded packages. If a remote attacker were able to perform a machine-in-the-middle attack, this flaw could potentially be used to install altered packages. (CVE-2019-15795) It was discovered that python-apt could install packages from untrusted repositories, contrary to expectations. (CVE-2019-15796)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/python-apt<1.9.0ubuntu1.2
1.9.0ubuntu1.2
Ubuntu Linux=19.10
All of
ubuntu/python3-apt<1.9.0ubuntu1.2
1.9.0ubuntu1.2
Ubuntu Linux=19.10
All of
ubuntu/python-apt<1.8.5~ubuntu0.2
1.8.5~ubuntu0.2
Ubuntu Linux=19.04
All of
ubuntu/python3-apt<1.8.5~ubuntu0.2
1.8.5~ubuntu0.2
Ubuntu Linux=19.04
All of
ubuntu/python-apt<1.6.5ubuntu0.1
1.6.5ubuntu0.1
Ubuntu Linux=18.04
All of
ubuntu/python3-apt<1.6.5ubuntu0.1
1.6.5ubuntu0.1
Ubuntu Linux=18.04
All of
ubuntu/python-apt<1.1.0~beta1ubuntu0.16.04.7
1.1.0~beta1ubuntu0.16.04.7
Ubuntu Linux=16.04
All of
ubuntu/python3-apt<1.1.0~beta1ubuntu0.16.04.7
1.1.0~beta1ubuntu0.16.04.7
Ubuntu Linux=16.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the severity of USN-4247-1?

    The severity of USN-4247-1 is considered important as it allows for potential remote package alteration.

  • How do I fix USN-4247-1?

    To fix USN-4247-1, upgrade the python-apt or python3-apt package to the versions specified in the notice.

  • What versions of python-apt are affected by USN-4247-1?

    USN-4247-1 affects python-apt versions prior to 1.9.0ubuntu1.2 on specific Ubuntu releases.

  • What is CVE-2019-15795 related to USN-4247-1?

    CVE-2019-15795 is the identifier for the vulnerability that allows attackers to alter package installations.

  • What should I do if I'm unable to upgrade python-apt as per USN-4247-1?

    If you cannot upgrade python-apt, consider implementing network measures to mitigate the risk of man-in-the-middle attacks.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203