CVE-2019-15795 | python-apt uses MD5 for validation

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.

Published: 2020-03-26 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2019-15795 is rated Low Risk (31.2/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.44%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2019-15795

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.18% 0.44% +0.26%
2 2025-12-28 0.14% 0.18% +0.04%
3 2025-12-27 0.14%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2019-15795

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.7 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.6 2.7 [email protected]
4.7 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.6 2.7 [email protected]
2.6 2.0 LOW
AV:N/AC:H/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:H)
Exploitation requires uncommon or highly specific conditions.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
4.9 2.9 [email protected]

Weakness enumeration for CVE-2019-15795

GitHub Security Advisory for CVE-2019-15795

GHSA-rp8m-h266-53jh · Severity: medium · Ecosystem: pip — python-apt Flawed Package Integrity Check

OS Trackers for CVE-2019-15795

vendor priority summary link
debian not yet assigned CVE-2019-15795 not yet assigned priority: Debian including 1 source packages (python-apt), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2019-15795
ubuntu medium CVE-2019-15795 medium priority: Ubuntu including 1 source packages (python-apt), 6 status rows across 6 suites (bionic, disco, eoan, trusty, upstream, xenial): released 5, needs-triage 1. https://ubuntu.com/security/CVE-2019-15795

Affected software / configurations for CVE-2019-15795

Vendor Product Version Raw CPE
ubuntu python-apt 0.8.0 cpe:2.3:a:ubuntu:python-apt:0.8.0:ubuntu9:*:*:*:*:*:*
ubuntu python-apt 0.8.1 cpe:2.3:a:ubuntu:python-apt:0.8.1:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu2:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu3:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu4:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu5:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu6:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7.1:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7.2:*:*:*:*:*:*
ubuntu python-apt 0.8.3 cpe:2.3:a:ubuntu:python-apt:0.8.3:ubuntu7.3:*:*:*:*:*:*
ubuntu python-apt 0.8.9.1 cpe:2.3:a:ubuntu:python-apt:0.8.9.1:*:*:*:*:*:*:*
ubuntu python-apt 0.8.9.1 cpe:2.3:a:ubuntu:python-apt:0.8.9.1:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 0.9.0 cpe:2.3:a:ubuntu:python-apt:0.9.0:*:*:*:*:*:*:*
ubuntu python-apt 0.9.1 cpe:2.3:a:ubuntu:python-apt:0.9.1:*:*:*:*:*:*:*
ubuntu python-apt 0.9.1 cpe:2.3:a:ubuntu:python-apt:0.9.1:build1:*:*:*:*:*:*
ubuntu python-apt 0.9.1 cpe:2.3:a:ubuntu:python-apt:0.9.1:build2:*:*:*:*:*:*
ubuntu python-apt 0.9.1 cpe:2.3:a:ubuntu:python-apt:0.9.1:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 0.9.3.1 cpe:2.3:a:ubuntu:python-apt:0.9.3.1:*:*:*:*:*:*:*
ubuntu python-apt 0.9.3.2 cpe:2.3:a:ubuntu:python-apt:0.9.3.2:*:*:*:*:*:*:*
ubuntu python-apt 0.9.3.2 cpe:2.3:a:ubuntu:python-apt:0.9.3.2:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 0.9.3.2 cpe:2.3:a:ubuntu:python-apt:0.9.3.2:ubuntu2:*:*:*:*:*:*
ubuntu python-apt 0.9.3.3 cpe:2.3:a:ubuntu:python-apt:0.9.3.3:*:*:*:*:*:*:*
ubuntu python-apt 0.9.3.3 cpe:2.3:a:ubuntu:python-apt:0.9.3.3:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 0.9.3.4 cpe:2.3:a:ubuntu:python-apt:0.9.3.4:*:*:*:*:*:*:*
ubuntu python-apt 0.9.3.4 cpe:2.3:a:ubuntu:python-apt:0.9.3.4:build1:*:*:*:*:*:*
ubuntu python-apt 0.9.3.5 cpe:2.3:a:ubuntu:python-apt:0.9.3.5:*:*:*:*:*:*:*
ubuntu python-apt 0.9.3.5 cpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 0.9.3.5 cpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu2:*:*:*:*:*:*
ubuntu python-apt 0.9.3.5 cpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu3:*:*:*:*:*:*
ubuntu python-apt 1.0.1 cpe:2.3:a:ubuntu:python-apt:1.0.1:build1:*:*:*:*:*:*
ubuntu python-apt 1.0.1 cpe:2.3:a:ubuntu:python-apt:1.0.1:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 1.0.1 cpe:2.3:a:ubuntu:python-apt:1.0.1:ubuntu2:*:*:*:*:*:*
ubuntu python-apt 1.1.0 cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1:*:*:*:*:*:*
ubuntu python-apt 1.1.0 cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1build1:*:*:*:*:*:*
ubuntu python-apt 1.1.0 cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.1:*:*:*:*:*:*
ubuntu python-apt 1.1.0 cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.2:*:*:*:*:*:*
ubuntu python-apt 1.1.0 cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.3:*:*:*:*:*:*
ubuntu python-apt 1.1.0 cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.4:*:*:*:*:*:*
ubuntu python-apt 1.1.0 cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.5:*:*:*:*:*:*
debian python-apt 1.8.4 cpe:2.3:a:debian:python-apt:1.8.4:*:*:*:*:*:*:*
ubuntu python-apt 1.4.0 cpe:2.3:a:ubuntu:python-apt:1.4.0:*:*:*:*:*:*:*
ubuntu python-apt 1.4.0 cpe:2.3:a:ubuntu:python-apt:1.4.0:beta3build2:*:*:*:*:*:*
ubuntu python-apt 1.4.0 cpe:2.3:a:ubuntu:python-apt:1.4.0:beta3ubuntu1:*:*:*:*:*:*
ubuntu python-apt 1.6.0 cpe:2.3:a:ubuntu:python-apt:1.6.0:*:*:*:*:*:*:*
ubuntu python-apt 1.6.0 cpe:2.3:a:ubuntu:python-apt:1.6.0:rc1:*:*:*:*:*:*
ubuntu python-apt 1.6.0 cpe:2.3:a:ubuntu:python-apt:1.6.0:rc2ubuntu1:*:*:*:*:*:*
ubuntu python-apt 1.6.0 cpe:2.3:a:ubuntu:python-apt:1.6.0:rc2ubuntu2:*:*:*:*:*:*
ubuntu python-apt 1.6.0 cpe:2.3:a:ubuntu:python-apt:1.6.0:rc3:*:*:*:*:*:*
ubuntu python-apt 1.6.1 cpe:2.3:a:ubuntu:python-apt:1.6.1:*:*:*:*:*:*:*
ubuntu python-apt 1.6.2 cpe:2.3:a:ubuntu:python-apt:1.6.2:*:*:*:*:*:*:*
ubuntu python-apt 1.6.3 cpe:2.3:a:ubuntu:python-apt:1.6.3:*:*:*:*:*:*:*
ubuntu python-apt 1.6.3 cpe:2.3:a:ubuntu:python-apt:1.6.3:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 1.6.4 cpe:2.3:a:ubuntu:python-apt:1.6.4:*:*:*:*:*:*:*
ubuntu python-apt 1.8.4 cpe:2.3:a:ubuntu:python-apt:1.8.4:*:*:*:*:*:*:*
ubuntu python-apt 1.9.0 cpe:2.3:a:ubuntu:python-apt:1.9.0:alpha0\~ubuntu1:*:*:*:*:*:*
ubuntu python-apt 1.9.0 cpe:2.3:a:ubuntu:python-apt:1.9.0:alpha0\~ubuntu2:*:*:*:*:*:*
ubuntu python-apt 1.9.0 cpe:2.3:a:ubuntu:python-apt:1.9.0:ubuntu1:*:*:*:*:*:*
ubuntu python-apt 1.7.0 cpe:2.3:a:ubuntu:python-apt:1.7.0:*:*:*:*:*:*:*
ubuntu python-apt 1.8.0 cpe:2.3:a:ubuntu:python-apt:1.8.0:*:*:*:*:*:*:*
ubuntu python-apt 1.8.0 cpe:2.3:a:ubuntu:python-apt:1.8.0:alpha0\~ubuntu1:*:*:*:*:*:*
ubuntu python-apt 1.8.0 cpe:2.3:a:ubuntu:python-apt:1.8.0:alpha0\~ubuntu2:*:*:*:*:*:*
ubuntu python-apt 1.8.1 cpe:2.3:a:ubuntu:python-apt:1.8.1:*:*:*:*:*:*:*
ubuntu python-apt 1.8.2 cpe:2.3:a:ubuntu:python-apt:1.8.2:*:*:*:*:*:*:*
ubuntu python-apt 1.8.3 cpe:2.3:a:ubuntu:python-apt:1.8.3:*:*:*:*:*:*:*

References for CVE-2019-15795

URL Tags
https://usn.ubuntu.com/4247-1/ Patch Vendor Advisory
https://usn.ubuntu.com/4247-3/ Patch Vendor Advisory
cvelogic Threat Intelligence