USN-4247-2: python-apt regression

Publication date

22 January 2020

Overview

USN-4247-1 introduced a regression in python-apt.


Packages

Details

USN-4247-1 fixed vulnerabilities in python-apt. The updated packages caused
a regression when attempting to upgrade to a new Ubuntu release. This
update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

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)

USN-4247-1 fixed vulnerabilities in python-apt. The updated packages caused
a regression when attempting to upgrade to a new Ubuntu release. This
update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

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)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
19.10 eoan python-apt –  1.9.0ubuntu1.3
python3-apt –  1.9.0ubuntu1.3
19.04 disco python-apt –  1.8.5~ubuntu0.3
python3-apt –  1.8.5~ubuntu0.3
18.04 bionic python-apt –  1.6.5ubuntu0.2
python3-apt –  1.6.5ubuntu0.2
16.04 xenial python-apt –  1.1.0~beta1ubuntu0.16.04.8
python3-apt –  1.1.0~beta1ubuntu0.16.04.8

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›