CVE-2019-15796
python-apt downloads from untrusted sources
Reported by canonical · Published March 26, 2020
python-apt is fixed in 1.9.5, 1.9.3ubuntu2, 1.9.0ubuntu1.2 and 3 more (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-apt | PyPI | 1.9.5, 1.9.3ubuntu2, 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 0.9.3.5ubuntu3, 0.8.3ubuntu7.5 |
| python-apt | Ubuntu:18.04:LTS | 1.6.5ubuntu0.1 |
| python-apt | Ubuntu:16.04:LTS | 1.1.0~beta1ubuntu0.16.04.7 |
| Python-apt | Canonical | 1.9.5, 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0~beta1ubuntu0.16.04.7, 0.9.3.5ubuntu3+esm2, 0.8.3ubuntu7.5 |
| python-apt | Ubuntu:Pro:14.04:LTS | 0.9.3.5ubuntu3+esm2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Python-apt | 0.8.3, 0.9.3.5, 1.1.0 |
| PyPI | python-apt | 0 |
| Canonical | Python-apt | 0.8.3, 0.9.3.5, 1.1.0 |
Timeline
- Jan 20, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-15796
vulnetix vdb fixes CVE-2019-15796
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-15796/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisoryx_refsource_UBUNTU
- vendor-advisoryx_refsource_UBUNTU
- https://nvd.nist.gov/vuln/detail/CVE-2019-15796 advisory
- https://github.com/advisories/GHSA-pj65-3pf6-c5q4 advisory