CVE-2019-15796: canonical python-apt Improper Authentication
Vulnerability summary
CVE-2019-15796 is a medium (CVSS 4.7) Improper Authentication vulnerability in canonical python-apt. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 42.2% 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 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.
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.51%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
0.00 pp
From 0.51% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-287Improper AuthenticationWhen an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
- CWE-347Improper Verification of Cryptographic SignatureThe product does not verify, or incorrectly verifies, the cryptographic signature for data.
Affected 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 | ≥ 1.9.5, < 1.9.5
PyPI1 product
- python-apt< 0.8.3ubuntu7.5 | ≥ 0.9.0, < 0.9.3.5ubuntu3 | ≥ 1.2.0, < 1.6.5ubuntu0.1 | ≥ 1.7.0, < 1.9.0ubuntu1.2 | ≥ 1.9.1, < 1.9.5
4 vendors · 6 products
References
11 links- github.com/excid3/python-aptPACKAGE