CVE-2019-15795: canonical python-apt
Vulnerability summary
CVE-2019-15795 is a medium (CVSS 4.7) vulnerability in canonical python-apt. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 4 · Related 2Timeline
- 26-03-2020PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
python-apt only checks the MD5 sums of downloaded files in `Version.fetch_binary()` and `Version.fetch_source()` of apt/package.py in version 1.9.0ubuntu1 and earlier. This allows a man-in-the-middle attack which could potentially be used to install altered packages and has been fixed in versions 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.
CVSS metrics
6 scores · 5 sources · 2 versions- NVDNIST4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · PypiEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
0.00 pp
From 0.45% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- python-apt< 1.8.5
- python-apt1.8.4
Ubuntu2 products
- python-apt< 0.9.3.5ubuntu3+esm2 | < 1.1.0~beta1ubuntu0.16.04.7 | < 1.6.5ubuntu0.1
- python-apt0.8.0:ubuntu9 | 0.8.1:ubuntu1 | 0.8.3:ubuntu1 | 0.8.3:ubuntu2 | 0.8.3:ubuntu3 | 0.8.3:ubuntu4 | 0.8.3:ubuntu5 | 0.8.3:ubuntu6 | 0.8.3:ubuntu7 | 0.8.3:ubuntu7.1 | 0.8.3:ubuntu7.2 | 0.8.3:ubuntu7.3 | 0.8.9.1 | 0.8.9.1:ubuntu1 | 0.9.0 | 0.9.1 | 0.9.1:build1 | 0.9.1:build2 | 0.9.1:ubuntu1 | 0.9.3.1 | 0.9.3.2 | 0.9.3.2:ubuntu1 | 0.9.3.2:ubuntu2 | 0.9.3.3 | 0.9.3.3:ubuntu1 | 0.9.3.4 | 0.9.3.4:build1 | 0.9.3.5 | 0.9.3.5:ubuntu1 | 0.9.3.5:ubuntu2 | 0.9.3.5:ubuntu3 | 1.0.1:build1 | 1.0.1:ubuntu1 | 1.0.1:ubuntu2 | 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.3 | 1.1.0:beta1ubuntu0.16.04.4 | 1.1.0:beta1ubuntu0.16.04.5 | 1.4.0 | 1.4.0:beta3build2 | 1.4.0:beta3ubuntu1 | 1.6.0 | 1.6.0:rc1 | 1.6.0:rc2ubuntu1 | 1.6.0:rc2ubuntu2 | 1.6.0:rc3 | 1.6.1 | 1.6.2 | 1.6.3 | 1.6.3:ubuntu1 | 1.6.4 | 1.8.4 | 1.9.0:alpha0\~ubuntu1 | 1.9.0:alpha0\~ubuntu2 | 1.9.0:ubuntu1 | 1.7.0 | 1.8.0 | 1.8.0:alpha0\~ubuntu1 | 1.8.0:alpha0\~ubuntu2 | 1.8.1 | 1.8.2 | 1.8.3
Canonical1 product
- python-apt≥ 0.8.3, < 0.8.3ubuntu7.5 | ≥ 0.9.3.5, < 0.9.3.5ubuntu3+esm2 | ≥ 1.1.0, < 1.1.0~beta1ubuntu0.16.04.7 | ≥ 1.6.5, < 1.6.5ubuntu0.1 | ≥ 1.9.0, < 1.9.0ubuntu1.2
PyPI1 product
- python-apt< 0.8.3ubuntu7.5 | ≥ 0.9.0, < 0.9.3.5ubuntu3 | ≥ 1.0.0, < 1.1.0 | ≥ 1.2.0, < 1.6.5ubuntu0.1 | ≥ 1.7.0, < 1.9.0ubuntu1.2
4 vendors · 6 products
References
11 links- github.com/excid3/python-aptPACKAGE