Skip to content

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

MediumCVSS 4.7 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
pypi python-apt(PyPI) < 0.8.3ubuntu7.5 0.8.3ubuntu7.5
pypi python-apt(PyPI) >= 0.9.0, < 0.9.3.5ubuntu3 0.9.3.5ubuntu3
pypi python-apt(PyPI) >= 1.0.0, < 1.1.0 1.1.0
pypi python-apt(PyPI) >= 1.2.0, < 1.6.5ubuntu0.1 1.6.5ubuntu0.1
pypi python-apt(PyPI) >= 1.7.0, < 1.9.0ubuntu1.2 1.9.0ubuntu1.2
debian/python-apt(Debian:12) < 1.8.5 1.8.5
debian/python-apt(Debian:13) < 1.8.5 1.8.5
debian/python-apt(Debian:14) < 1.8.5 1.8.5
ubuntu python-apt = 0.8.0-ubuntu9 No fix listed
ubuntu python-apt = 0.8.1-ubuntu1 No fix listed
ubuntu python-apt = 0.8.3-ubuntu1 No fix listed
ubuntu python-apt = 0.8.3-ubuntu2 No fix listed
ubuntu python-apt = 0.8.3-ubuntu3 No fix listed
ubuntu python-apt = 0.8.3-ubuntu4 No fix listed
ubuntu python-apt = 0.8.3-ubuntu5 No fix listed
ubuntu python-apt = 0.8.3-ubuntu6 No fix listed
ubuntu python-apt = 0.8.3-ubuntu7 No fix listed
ubuntu python-apt = 0.8.3-ubuntu7.1 No fix listed
ubuntu python-apt = 0.8.3-ubuntu7.2 No fix listed
ubuntu python-apt = 0.8.3-ubuntu7.3 No fix listed
ubuntu python-apt = 0.8.9.1 No fix listed
ubuntu python-apt = 0.8.9.1-ubuntu1 No fix listed
ubuntu python-apt = 0.9.0 No fix listed
ubuntu python-apt = 0.9.1 No fix listed
ubuntu python-apt = 0.9.1-build1 No fix listed
Show 54 more
ProductAffected versionsFixed in
ubuntu python-apt = 0.9.1-build2 No fix listed
ubuntu python-apt = 0.9.1-ubuntu1 No fix listed
ubuntu python-apt = 0.9.3.1 No fix listed
ubuntu python-apt = 0.9.3.2 No fix listed
ubuntu python-apt = 0.9.3.2-ubuntu1 No fix listed
ubuntu python-apt = 0.9.3.2-ubuntu2 No fix listed
ubuntu python-apt = 0.9.3.3 No fix listed
ubuntu python-apt = 0.9.3.3-ubuntu1 No fix listed
ubuntu python-apt = 0.9.3.4 No fix listed
ubuntu python-apt = 0.9.3.4-build1 No fix listed
ubuntu python-apt = 0.9.3.5 No fix listed
ubuntu python-apt = 0.9.3.5-ubuntu1 No fix listed
ubuntu python-apt = 0.9.3.5-ubuntu2 No fix listed
ubuntu python-apt = 0.9.3.5-ubuntu3 No fix listed
ubuntu python-apt = 1.0.1-build1 No fix listed
ubuntu python-apt = 1.0.1-ubuntu1 No fix listed
ubuntu python-apt = 1.0.1-ubuntu2 No fix listed
ubuntu python-apt = 1.1.0-beta1 No fix listed
ubuntu python-apt = 1.1.0-beta1build1 No fix listed
ubuntu python-apt = 1.1.0-beta1ubuntu0.16.04.1 No fix listed
ubuntu python-apt = 1.1.0-beta1ubuntu0.16.04.2 No fix listed
ubuntu python-apt = 1.1.0-beta1ubuntu0.16.04.3 No fix listed
ubuntu python-apt = 1.1.0-beta1ubuntu0.16.04.4 No fix listed
ubuntu python-apt = 1.1.0-beta1ubuntu0.16.04.5 No fix listed
ubuntu python-apt = 1.4.0 No fix listed
ubuntu python-apt = 1.4.0-beta3build2 No fix listed
ubuntu python-apt = 1.4.0-beta3ubuntu1 No fix listed
ubuntu python-apt = 1.6.0 No fix listed
ubuntu python-apt = 1.6.0-rc1 No fix listed
ubuntu python-apt = 1.6.0-rc2ubuntu1 No fix listed
ubuntu python-apt = 1.6.0-rc2ubuntu2 No fix listed
ubuntu python-apt = 1.6.0-rc3 No fix listed
ubuntu python-apt = 1.6.1 No fix listed
ubuntu python-apt = 1.6.2 No fix listed
ubuntu python-apt = 1.6.3 No fix listed
ubuntu python-apt = 1.6.3-ubuntu1 No fix listed
ubuntu python-apt = 1.6.4 No fix listed
ubuntu python-apt = 1.8.4 No fix listed
ubuntu python-apt = 1.9.0-alpha0~ubuntu1 No fix listed
ubuntu python-apt = 1.9.0-alpha0~ubuntu2 No fix listed
ubuntu python-apt = 1.9.0-ubuntu1 No fix listed
ubuntu python-apt = 1.7.0 No fix listed
ubuntu python-apt = 1.8.0 No fix listed
ubuntu python-apt = 1.8.0-alpha0~ubuntu1 No fix listed
ubuntu python-apt = 1.8.0-alpha0~ubuntu2 No fix listed
ubuntu python-apt = 1.8.1 No fix listed
ubuntu python-apt = 1.8.2 No fix listed
ubuntu python-apt = 1.8.3 No fix listed
debian/python-apt = 1.8.4 No fix listed
Canonical python-apt >= 0.8.3, < 0.8.3ubuntu7.5 0.8.3ubuntu7.5
Canonical python-apt >= 0.9.3.5, < 0.9.3.5ubuntu3+esm2 0.9.3.5ubuntu3+esm2
Canonical python-apt >= 1.1.0, < 1.1.0~beta1ubuntu0.16.04.7 1.1.0~beta1ubuntu0.16.04.7
Canonical python-apt >= 1.6.5, < 1.6.5ubuntu0.1 1.6.5ubuntu0.1
Canonical python-apt >= 1.9.0, < 1.9.0ubuntu1.2 1.9.0ubuntu1.2

References