{"id":"USN-4247-1","summary":"python-apt vulnerabilities","details":"It was discovered that python-apt would still use MD5 hashes to validate\ncertain downloaded packages. If a remote attacker were able to perform a\nmachine-in-the-middle attack, this flaw could potentially be used to install\naltered packages. (CVE-2019-15795)\n\nIt was discovered that python-apt could install packages from untrusted\nrepositories, contrary to expectations. (CVE-2019-15796)\n","modified":"2026-02-10T04:41:45Z","published":"2020-01-22T18:15:12Z","related":["UBUNTU-CVE-2019-15795","UBUNTU-CVE-2019-15796"],"upstream":["CVE-2019-15795","CVE-2019-15796","UBUNTU-CVE-2019-15795","UBUNTU-CVE-2019-15796"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4247-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-15795"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-15796"}],"affected":[{"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":{"binaries":[{"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":"python-apt-dev","binary_version":"1.1.0~beta1ubuntu0.16.04.7"},{"binary_name":"python3-apt","binary_version":"1.1.0~beta1ubuntu0.16.04.7"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4247-1.json","cves_map":{"ecosystem":"Ubuntu:16.04:LTS","cves":[{"id":"CVE-2019-15795","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-15796","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}},{"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":{"binaries":[{"binary_name":"python-apt","binary_version":"1.6.5ubuntu0.1"},{"binary_name":"python-apt-common","binary_version":"1.6.5ubuntu0.1"},{"binary_name":"python-apt-dev","binary_version":"1.6.5ubuntu0.1"},{"binary_name":"python3-apt","binary_version":"1.6.5ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4247-1.json","cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2019-15795","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-15796","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.3"}