{"id":"UBUNTU-CVE-2019-15795","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.","modified":"2026-04-22T12:11:39.491115Z","published":"2020-01-20T00:00:00Z","related":["USN-4247-1","USN-4247-3"],"upstream":["CVE-2019-15795"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-15795"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4247-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4247-3"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-15795"}],"affected":[{"package":{"name":"python-apt","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/python-apt@0.9.3.5ubuntu3+esm2?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.3.5ubuntu3+esm2"}]}],"versions":["0.8.9.1ubuntu1","0.9.0","0.9.1","0.9.1ubuntu1","0.9.3.2","0.9.3.2ubuntu2","0.9.3.3","0.9.3.3ubuntu1","0.9.3.4","0.9.3.4build1","0.9.3.5","0.9.3.5ubuntu1","0.9.3.5ubuntu2","0.9.3.5ubuntu3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"0.9.3.5ubuntu3+esm2","binary_name":"python-apt"},{"binary_version":"0.9.3.5ubuntu3+esm2","binary_name":"python-apt-common"},{"binary_version":"0.9.3.5ubuntu3+esm2","binary_name":"python3-apt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15795.json"}},{"package":{"name":"python-apt","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-apt@1.1.0~beta1ubuntu0.16.04.7?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0~beta1ubuntu0.16.04.7"}]}],"versions":["1.0.1build1","1.0.1ubuntu2","1.1.0~beta1","1.1.0~beta1build1","1.1.0~beta1ubuntu0.16.04.1","1.1.0~beta1ubuntu0.16.04.2","1.1.0~beta1ubuntu0.16.04.4","1.1.0~beta1ubuntu0.16.04.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.1.0~beta1ubuntu0.16.04.7","binary_name":"python-apt"},{"binary_version":"1.1.0~beta1ubuntu0.16.04.7","binary_name":"python-apt-common"},{"binary_version":"1.1.0~beta1ubuntu0.16.04.7","binary_name":"python3-apt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15795.json"}},{"package":{"name":"python-apt","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-apt@1.6.5ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.5ubuntu0.1"}]}],"versions":["1.4.0~beta3build2","1.4.0~beta3ubuntu1","1.6.0~rc2ubuntu1","1.6.0~rc2ubuntu2","1.6.0","1.6.1","1.6.2","1.6.3","1.6.3ubuntu1","1.6.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.6.5ubuntu0.1","binary_name":"python-apt"},{"binary_version":"1.6.5ubuntu0.1","binary_name":"python-apt-common"},{"binary_version":"1.6.5ubuntu0.1","binary_name":"python3-apt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-15795.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}