{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-15795","id":"CVE-2019-15795","title":"python-apt uses MD5 for validation","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.","descriptionLong":"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.","published":"2020-03-26T13:00:21.299Z","updated":"2026-06-17T02:21:05.490Z","reserved":"2019-08-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"canonical"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"canonical"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"ubuntu.com"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["Canonical Python-apt"],"affectedProducts":[{"vendor":"Canonical","product":"Python-apt","defaultStatus":null,"versions":[{"lessThan":"0.8.3ubuntu7.5","status":"affected","version":"0.8.3","versionType":"custom"},{"lessThan":"0.9.3.5ubuntu3+esm2","status":"affected","version":"0.9.3.5","versionType":"custom"},{"lessThan":"1.1.0~beta1ubuntu0.16.04.7","status":"affected","version":"1.1.0","versionType":"custom"},{"lessThan":"1.6.5ubuntu0.1","status":"affected","version":"1.6.5","versionType":"custom"},{"lessThan":"1.9.0ubuntu1.2","status":"affected","version":"1.9.0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"python-apt","purl":"pkg:pypi/python-apt","ranges":["<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"],"fixed":["0.8.3ubuntu7.5","0.9.3.5ubuntu3","1.1.0","1.6.5ubuntu0.1","1.9.0ubuntu1.2"],"advisory":"GHSA-rp8m-h266-53jh"}],"cwes":["CWE-327"],"aliases":["GHSA-rp8m-h266-53jh"],"references":[{"url":"https://usn.ubuntu.com/4247-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://usn.ubuntu.com/4247-3/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15795","tags":["advisory"]},{"url":"https://github.com/excid3/python-apt","tags":["package"]},{"url":"https://usn.ubuntu.com/4247-1","tags":["web"]},{"url":"https://usn.ubuntu.com/4247-3","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00451,"epssPercentile":0.39829,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-15795","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15795","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-15795","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rp8m-h266-53jh","ok":true,"note":"GHSA-rp8m-h266-53jh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-15795","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}