Skip to content
Fencer Intel
medium 4.7

CVE-2019-15795 json

python-apt uses MD5 for validation

published 6y ago modified 4mo ago also GHSA-rp8m-h266-53jh , EUVD-2022-5210

cvss
4.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 39%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi python-apt 0.8.3ubuntu7.5, 0.9.3.5ubuntu3, 1.1.0, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2
  • Canonical Python-apt 0.8.3ubuntu7.5, 0.9.3.5ubuntu3+esm2, 1.1.0~beta1ubuntu0.16.04.7, 1.6.5ubuntu0.1, 1.9.0ubuntu1.2
  • python-apt Debian 14, Debian 13, Debian 12 1.8.5

debian advisories DEBIAN-CVE-2019-15795

  • python-apt Ubuntu 16.04 LTS 1.1.0~beta1ubuntu0.16.04.7
  • python-apt Ubuntu 18.04 LTS 1.6.5ubuntu0.1
  • python-apt Ubuntu Pro 14.04 LTS 0.9.3.5ubuntu3+esm2

ubuntu advisories UBUNTU-CVE-2019-15795

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2019-15795 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 2.6 AV:N/AC:H/Au:N/C:N/I:P/A:N
GitHub 3.1 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
pypi python-apt
<0.8.3ubuntu7.5
>=0.9.0, <0.9.3.5ubuntu3
>=1.0.0, <1.1.0
>=1.2.0, <1.6.5ubuntu0.1
>=1.7.0, <1.9.0ubuntu1.2
0.8.3ubuntu7.5
0.9.3.5ubuntu3
1.1.0
1.6.5ubuntu0.1
1.9.0ubuntu1.2

Affected products

  • Canonical Python-apt

Classification

Weakness
  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.