UBUNTU-CVE-2019-15796

Source
https://ubuntu.com/security/CVE-2019-15796
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15796.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-15796
Related
Published
2020-01-20T00:00:00Z
Modified
2025-01-13T10:21:59Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Python-apt doesn't check if hashes are signed in Version.fetch_binary() and Version.fetch_source() of apt/package.py or in _fetch_archives() 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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / python-apt

Package

Name
python-apt
Purl
pkg:deb/ubuntu/python-apt@0.9.3.5ubuntu3+esm2?arch=source&distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.3.5ubuntu3+esm2

Affected versions

0.*

0.8.9.1ubuntu1
0.9.0
0.9.1
0.9.1ubuntu1
0.9.3.2
0.9.3.2ubuntu2
0.9.3.3
0.9.3.3ubuntu1
0.9.3.4
0.9.3.4build1
0.9.3.5
0.9.3.5ubuntu1
0.9.3.5ubuntu2
0.9.3.5ubuntu3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.9.3.5ubuntu3+esm2",
            "binary_name": "python-apt"
        },
        {
            "binary_version": "0.9.3.5ubuntu3+esm2",
            "binary_name": "python-apt-common"
        },
        {
            "binary_version": "0.9.3.5ubuntu3+esm2",
            "binary_name": "python-apt-dbg"
        },
        {
            "binary_version": "0.9.3.5ubuntu3+esm2",
            "binary_name": "python-apt-dev"
        },
        {
            "binary_version": "0.9.3.5ubuntu3+esm2",
            "binary_name": "python-apt-doc"
        },
        {
            "binary_version": "0.9.3.5ubuntu3+esm2",
            "binary_name": "python3-apt"
        },
        {
            "binary_version": "0.9.3.5ubuntu3+esm2",
            "binary_name": "python3-apt-dbg"
        }
    ]
}

Ubuntu:16.04:LTS / python-apt

Package

Name
python-apt
Purl
pkg:deb/ubuntu/python-apt@1.1.0~beta1ubuntu0.16.04.7?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.7

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

Ecosystem specific

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

Ubuntu:18.04:LTS / python-apt

Package

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

Affected ranges

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

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.6.5ubuntu0.1",
            "binary_name": "python-apt"
        },
        {
            "binary_version": "1.6.5ubuntu0.1",
            "binary_name": "python-apt-common"
        },
        {
            "binary_version": "1.6.5ubuntu0.1",
            "binary_name": "python-apt-dbg"
        },
        {
            "binary_version": "1.6.5ubuntu0.1",
            "binary_name": "python-apt-dev"
        },
        {
            "binary_version": "1.6.5ubuntu0.1",
            "binary_name": "python-apt-doc"
        },
        {
            "binary_version": "1.6.5ubuntu0.1",
            "binary_name": "python3-apt"
        },
        {
            "binary_version": "1.6.5ubuntu0.1",
            "binary_name": "python3-apt-dbg"
        }
    ]
}