CVE-2019-15795
python-apt uses MD5 for validation
Reported by canonical · Published March 26, 2020
python-apt is fixed in 1.9.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0 and 3 more (PyPI)
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.
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.0ubuntu1.2, 1.6.5ubuntu0.1, 1.1.0, 0.9.3.5ubuntu3, 0.8.3ubuntu7.5, 0.7.8 |
| python-apt | Ubuntu:18.04:LTS | 1.6.5ubuntu0.1 |
| Python-apt | Canonical | 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:16.04:LTS | 1.1.0~beta1ubuntu0.16.04.7 |
| 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-15795
vulnetix vdb fixes CVE-2019-15795
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-15795/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-15795 advisory
- https://github.com/advisories/GHSA-rp8m-h266-53jh advisory