CVE-2019-15795 in Debian Python-Apt and 2 more products
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...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Python-Apt | 1.8.4 |
| Ubuntu | Python-Apt | 0.8.0 0.8.1 0.8.3 0.8.9.1 0.9.0 0.9.1+20 more0.9.3.1 0.9.3.2 0.9.3.3 0.9.3.4 0.9.3.5 1.0.1 1.1.0 1.4.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.7.0 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.9.0 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Canonical Ubuntu Linux
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-15795 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-135889-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published | 2020-03-26 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-327: CWE-327
Related attack patterns (CAPEC)
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-327
CAPEC-475 Signature Spoofing by Improper Validation via CWE-327
CAPEC-608 Cryptanalysis of Cellular Encryption via CWE-327
CAPEC-614 Rooting SIM Cards via CWE-327
CAPEC-20 Encryption Brute Forcing via CWE-327
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2020. A medium severity vulnerability affects Canonical systems (CVE-2019-15795). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N.
Questions
What is CVE-2019-15795?
This vulnerability was disclosed in 2020. A medium severity vulnerability affects Canonical systems (CVE-2019-15795). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2019-15795?
CVE-2019-15795 has CVSS 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.5%.
Is CVE-2019-15795 actively exploited?
No confirmed active exploitation of CVE-2019-15795 as of 2026-09-25.
How do I remediate CVE-2019-15795?
Priority: MONITOR. Advisory: https://usn.ubuntu.com/4247-1/ PSIRT: [email protected]
What systems are affected by CVE-2019-15795?
CVE-2019-15795 affects Debian Python-Apt; Ubuntu Python-Apt.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Python-Apt","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.