Summary
python-apt Flawed Package Integrity Check
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.
Impact
The application uses a cryptographic algorithm known to have weaknesses, such as MD5, SHA-1, or DES. Typical impact: compromised confidentiality or integrity of protected data.
CVE-2019-15795 has a CVSS score of 4.7 (Medium). The vector is network-reachable, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (0.8.3ubuntu7.5, 0.9.3.5ubuntu3, 1.1.0, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2); upgrading removes the vulnerable code path.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
python-apt to 0.8.3ubuntu7.5 or later; python-apt to 0.9.3.5ubuntu3 or later; python-apt to 1.1.0 or later; python-apt to 1.6.5ubuntu0.1 or later; python-apt to 1.9.0ubuntu1.2 or later
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is CVE-2019-15795? CVE-2019-15795 is a medium-severity use of a broken or risky cryptographic algorithm vulnerability in python-apt (pip), affecting versions < 0.8.3ubuntu7.5. It is fixed in 0.8.3ubuntu7.5, 0.9.3.5ubuntu3, 1.1.0, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2. The application uses a cryptographic algorithm known to have weaknesses, such as MD5, SHA-1, or DES.
- How severe is CVE-2019-15795? CVE-2019-15795 has a CVSS score of 4.7 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
- Which versions of python-apt are affected by CVE-2019-15795? python-apt (pip) versions < 0.8.3ubuntu7.5 is affected.
- Is there a fix for CVE-2019-15795? Yes. CVE-2019-15795 is fixed in 0.8.3ubuntu7.5, 0.9.3.5ubuntu3, 1.1.0, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2. Upgrade to this version or later.
- Is CVE-2019-15795 exploitable, and should I be worried? Whether CVE-2019-15795 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2019-15795 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2019-15795?
- Upgrade
python-aptto 0.8.3ubuntu7.5 or later - Upgrade
python-aptto 0.9.3.5ubuntu3 or later - Upgrade
python-aptto 1.1.0 or later - Upgrade
python-aptto 1.6.5ubuntu0.1 or later - Upgrade
python-aptto 1.9.0ubuntu1.2 or later
- Upgrade