{"id":"CVE-2019-15796","state":"PUBLISHED","title":"python-apt downloads from untrusted sources","description":"Python-apt doesn't check if hashes are signed in `Version.fetch_binary()` and `Version.fetch_source()` of apt/package.py or in `_fetch_archives()` of apt/cache.py in version 1.9.3ubuntu2 and earlier. This allows downloads from unsigned repositories which shouldn't be allowed and has been fixed in verisions 1.9.5, 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.","publishedAt":"2020-03-26T13:00:21.745Z","updatedAt":"2024-09-16T22:14:45.095Z","severity":{"score":4.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"canonical"},"assigner":"canonical","products":["Canonical Python-apt"],"affected":[{"vendor":"Canonical","product":"Python-apt","versions":[{"version":"0.8.3","status":"affected","lessThan":"0.8.3ubuntu7.5","versionType":"custom"},{"version":"0.9.3.5","status":"affected","lessThan":"0.9.3.5ubuntu3+esm2","versionType":"custom"},{"version":"1.1.0","status":"affected","lessThan":"1.1.0~beta1ubuntu0.16.04.7","versionType":"custom"},{"version":"1.6.5","status":"affected","lessThan":"1.6.5ubuntu0.1","versionType":"custom"},{"version":"1.9.0","status":"affected","lessThan":"1.9.0ubuntu1.2","versionType":"custom"},{"version":"1.9.5","status":"affected","lessThan":"1.9.5","versionType":"custom"}]}],"references":["https://usn.ubuntu.com/4247-1/","https://usn.ubuntu.com/4247-3/"],"weaknesses":["CWE-287"],"ingestedAt":"2026-10-29T19:45:33.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/15xxx/CVE-2019-15796.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-15796","state":"PUBLISHED","datePublished":"2020-03-26T13:00:21.745Z","dateUpdated":"2024-09-16T22:14:45.095Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2019-08-29T00:00:00.000Z"},"containers":{"cna":{"title":"python-apt downloads from untrusted sources","descriptions":[{"lang":"en","value":"Python-apt doesn't check if hashes are signed in `Version.fetch_binary()` and `Version.fetch_source()` of apt/package.py or in `_fetch_archives()` of apt/cache.py in version 1.9.3ubuntu2 and earlier. This allows downloads from unsigned repositories which shouldn't be allowed and has been fixed in verisions 1.9.5, 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":[{"vendor":"Canonical","product":"Python-apt","versions":[{"version":"0.8.3","status":"affected","lessThan":"0.8.3ubuntu7.5","versionType":"custom"},{"version":"0.9.3.5","status":"affected","lessThan":"0.9.3.5ubuntu3+esm2","versionType":"custom"},{"version":"1.1.0","status":"affected","lessThan":"1.1.0~beta1ubuntu0.16.04.7","versionType":"custom"},{"version":"1.6.5","status":"affected","lessThan":"1.6.5ubuntu0.1","versionType":"custom"},{"version":"1.9.0","status":"affected","lessThan":"1.9.0ubuntu1.2","versionType":"custom"},{"version":"1.9.5","status":"affected","lessThan":"1.9.5","versionType":"custom"}]}],"references":[{"url":"https://usn.ubuntu.com/4247-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4247-3/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","description":"CWE-287 Improper Authentication","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","dateUpdated":"2020-03-26T13:00:21.000Z","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc"},"credits":[{"lang":"en","value":"Julian Andres Klode"}],"datePublic":"2019-12-12T00:00:00.000Z","source":{"advisory":"https://usn.ubuntu.com/4247-1/","defect":["https://bugs.launchpad.net/bugs/1858973"],"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"AKA":"","ASSIGNER":"security@ubuntu.com","DATE_PUBLIC":"2019-12-12T17:47:00.000Z","ID":"CVE-2019-15796","STATE":"PUBLIC","TITLE":"python-apt downloads from untrusted sources"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Python-apt","version":{"version_data":[{"platform":"","version_affected":"<","version_name":"0.8.3","version_value":"0.8.3ubuntu7.5"},{"platform":"","version_affected":"<","version_name":"0.9.3.5","version_value":"0.9.3.5ubuntu3+esm2"},{"platform":"","version_affected":"<","version_name":"1.1.0","version_value":"1.1.0~beta1ubuntu0.16.04.7"},{"platform":"","version_affected":"<","version_name":"1.6.5","version_value":"1.6.5ubuntu0.1"},{"platform":"","version_affected":"<","version_name":"1.9.0","version_value":"1.9.0ubuntu1.2"},{"platform":"","version_affected":"<","version_name":"1.9.5","version_value":"1.9.5"}]}}]},"vendor_name":"Canonical"}]}},"configuration":[],"credit":[{"lang":"eng","value":"Julian Andres Klode"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Python-apt doesn't check if hashes are signed in `Version.fetch_binary()` and `Version.fetch_source()` of apt/package.py or in `_fetch_archives()` of apt/cache.py in version 1.9.3ubuntu2 and earlier. This allows downloads from unsigned repositories which shouldn't be allowed and has been fixed in verisions 1.9.5, 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."}]},"exploit":[],"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-287 Improper Authentication"}]}]},"references":{"reference_data":[{"name":"","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4247-1/"},{"name":"","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4247-3/"}]},"solution":[],"source":{"advisory":"https://usn.ubuntu.com/4247-1/","defect":["https://bugs.launchpad.net/bugs/1858973"],"discovery":"UNKNOWN"},"work_around":[]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://usn.ubuntu.com/4247-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/4247-3/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T00:56:22.408Z"}}]}}}