USN-4247-2

Source
https://ubuntu.com/security/notices/USN-4247-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4247-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4247-2
Published
2020-01-22T23:11:22Z
Modified
2026-02-10T04:41:45Z
Summary
python-apt regression
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)

References

Affected packages

Ubuntu:16.04:LTS / python-apt

Package

Name
python-apt
Purl
pkg:deb/ubuntu/python-apt@1.1.0~beta1ubuntu0.16.04.8?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0~beta1ubuntu0.16.04.8

Affected versions

1.*
1.0.1build1
1.0.1ubuntu2
1.1.0~beta1
1.1.0~beta1build1
1.1.0~beta1ubuntu0.16.04.1
1.1.0~beta1ubuntu0.16.04.2
1.1.0~beta1ubuntu0.16.04.4
1.1.0~beta1ubuntu0.16.04.5
1.1.0~beta1ubuntu0.16.04.7

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.1.0~beta1ubuntu0.16.04.8",
            "binary_name": "python-apt"
        },
        {
            "binary_version": "1.1.0~beta1ubuntu0.16.04.8",
            "binary_name": "python-apt-common"
        },
        {
            "binary_version": "1.1.0~beta1ubuntu0.16.04.8",
            "binary_name": "python-apt-dev"
        },
        {
            "binary_version": "1.1.0~beta1ubuntu0.16.04.8",
            "binary_name": "python3-apt"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4247-2.json"
cves_map
{
    "ecosystem": "Ubuntu:16.04:LTS",
    "cves": []
}

Ubuntu:18.04:LTS / python-apt

Package

Name
python-apt
Purl
pkg:deb/ubuntu/python-apt@1.6.5ubuntu0.2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.5ubuntu0.2

Affected versions

1.*
1.4.0~beta3build2
1.4.0~beta3ubuntu1
1.6.0~rc2ubuntu1
1.6.0~rc2ubuntu2
1.6.0
1.6.1
1.6.2
1.6.3
1.6.3ubuntu1
1.6.4
1.6.5ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.6.5ubuntu0.2",
            "binary_name": "python-apt"
        },
        {
            "binary_version": "1.6.5ubuntu0.2",
            "binary_name": "python-apt-common"
        },
        {
            "binary_version": "1.6.5ubuntu0.2",
            "binary_name": "python-apt-dev"
        },
        {
            "binary_version": "1.6.5ubuntu0.2",
            "binary_name": "python3-apt"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4247-2.json"
cves_map
{
    "ecosystem": "Ubuntu:18.04:LTS",
    "cves": []
}