{"id":"CVE-2020-27351","aliases":["DEBIAN-CVE-2020-27351","DLA-2488-1","DSA-4809-1","EUVD-2020-19863","GHSA-mfw3-hgv3-pg44","UBUNTU-CVE-2020-27351","USN-4668-1","USN-4668-4"],"status":"published","title":"Various memory and file descriptor leaks in apt-python","description":"Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;","severity":{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00395,"percentile":0.34127,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-772"],"published":"2020-12-09T00:00:00Z","modified":"2026-10-26T12:02:42Z","fixes":[{"ecosystem":"Debian:12","package":"python-apt","fixed_in":["2.1.7"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-apt","fixed_in":["2.1.7"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-apt","fixed_in":["2.1.7"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"python-apt","fixed_in":["1.4.2"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"python-apt","fixed_in":["1.8.4.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"python-apt","fixed_in":["0.9.3.5ubuntu3+esm4"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"python-apt","fixed_in":["1.1.0~beta1ubuntu0.16.04.10"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"python-apt","fixed_in":["1.6.5ubuntu0.4"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"python-apt","fixed_in":["2.0.0ubuntu0.20.04.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.7"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.7"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.7"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2"}]}],"versions":["1.4.0~beta3","1.4.1"]},{"source":"osv","ecosystem":"Debian:10","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.4.2"}]}],"versions":["1.8.4","1.8.4.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.3.5ubuntu3+esm4"}]}],"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","0.9.3.5ubuntu3+esm2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0~beta1ubuntu0.16.04.10"}]}],"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","1.1.0~beta1ubuntu0.16.04.7","1.1.0~beta1ubuntu0.16.04.8","1.1.0~beta1ubuntu0.16.04.9"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.5ubuntu0.4"}]}],"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","1.6.5ubuntu0.1","1.6.5ubuntu0.2","1.6.5ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0ubuntu0.20.04.2"}]}],"versions":["1.9.0ubuntu1","1.9.0ubuntu3","1.9.0ubuntu5","1.9.3ubuntu2","1.9.5","1.9.5build1","1.9.7","1.9.8","1.9.10","2.0.0","2.0.0ubuntu0.20.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0~beta1ubuntu0.16.04.10"}]}],"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","1.1.0~beta1ubuntu0.16.04.7","1.1.0~beta1ubuntu0.16.04.8","1.1.0~beta1ubuntu0.16.04.9"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.5ubuntu0.4"}]}],"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","1.6.5ubuntu0.1","1.6.5ubuntu0.2","1.6.5ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0ubuntu0.20.04.2"}]}],"versions":["1.9.0ubuntu1","1.9.0ubuntu3","1.9.0ubuntu5","1.9.3ubuntu2","1.9.5","1.9.5build1","1.9.7","1.9.8","1.9.10","2.0.0","2.0.0ubuntu0.20.04.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"python-apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.3.5ubuntu3+esm4"}]}],"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","0.9.3.5ubuntu3+esm2"]}],"products":[{"vendor":"canonical","product":"python-apt"},{"vendor":"debian","product":"advanced_package_tool"}],"references":[{"url":"https://bugs.launchpad.net/bugs/1899193","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://usn.ubuntu.com/usn/usn-4668-1","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4809","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27351"},{"url":"https://github.com/advisories/GHSA-mfw3-hgv3-pg44"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-27351","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-27351","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4668-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4668-4","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27351","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-27351","title":"Various memory and file descriptor leaks in apt-python","description":"Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;","status":"published","published":"2020-12-10T04:05:18.897Z","modified":"2024-09-16T22:15:18.197Z","cvss":[{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"cna"}],"cwes":["CWE-772"],"updated_at":"2026-11-02T14:35:53.236501Z"}],"euvd":[{"id":"EUVD-2020-19863","description":"Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;","status":"published","published":"2020-12-10T04:05:18Z","modified":"2024-09-16T22:15:18Z","cvss":[{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-03T00:55:04.822795Z"}],"ghsa":[{"id":"GHSA-mfw3-hgv3-pg44","title":"Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python...","description":"Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;","status":"published","published":"2022-05-24T17:35:57Z","modified":"2023-01-29T05:04:39Z","cwes":["CWE-772"],"updated_at":"2026-11-02T14:45:36.557586Z"}],"nvd":[{"id":"CVE-2020-27351","description":"Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;","status":"published","published":"2020-12-10T04:15:11.547Z","modified":"2026-06-17T03:09:09.857Z","cvss":[{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"},{"version":"3.1","score":2.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-772"],"updated_at":"2026-11-02T14:06:27.10541Z"}],"osv":[{"id":"CVE-2020-27351","description":"Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;","status":"published","published":"2020-12-10T04:15:11.547Z","modified":"2026-03-15T14:39:05.327297Z","cvss":[{"version":"3.1","score":2.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:44:16.248747Z"},{"id":"DEBIAN-CVE-2020-27351","description":"Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;","status":"published","published":"2020-12-10T04:15:11.547Z","modified":"2026-10-26T12:02:42.387961908Z","cvss":[{"version":"3.1","score":2.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:45:33.729655Z"},{"id":"UBUNTU-CVE-2020-27351","description":"Various memory and file descriptor leaks were found in apt-python files python/arfile.cc, python/tag.cc, python/tarfile.cc, aka GHSL-2020-170. This issue affects: python-apt 1.1.0~beta1 versions prior to 1.1.0~beta1ubuntu0.16.04.10; 1.6.5ubuntu0 versions prior to 1.6.5ubuntu0.4; 2.0.0ubuntu0 versions prior to 2.0.0ubuntu0.20.04.2; 2.1.3ubuntu1 versions prior to 2.1.3ubuntu1.1;","status":"published","published":"2020-12-09T00:00:00Z","modified":"2026-04-22T12:37:35.18198Z","cvss":[{"version":"3.1","score":2.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","level":"low"},{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:54:24.541803Z"},{"id":"DLA-2488-1","title":"python-apt - security update","status":"published","published":"2020-12-10T00:00:00Z","modified":"2026-03-09T01:21:36.907352Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"DSA-4809-1","title":"python-apt - security update","status":"published","published":"2020-12-09T00:00:00Z","modified":"2026-03-09T02:10:27.07447Z","updated_at":"2026-11-02T15:46:17.19998Z"},{"id":"USN-4668-1","title":"python-apt vulnerability","description":"Kevin Backhouse discovered that python-apt incorrectly handled resources. A\nlocal attacker could possibly use this issue to cause python-apt to consume\nresources, leading to a denial of service.\n","status":"published","published":"2020-12-09T16:36:45Z","modified":"2026-04-22T10:10:52.571622Z","updated_at":"2026-11-02T16:58:15.159055Z"},{"id":"USN-4668-4","title":"python-apt vulnerability","description":"USN-4668-1 fixed a vulnerability in python-apt. This update provides\nthe corresponding update for Ubuntu 14.04 ESM.\n\nOriginal advisory details:\n\n Kevin Backhouse discovered that python-apt incorrectly handled resources. A\n local attacker could possibly use this issue to cause python-apt to consume\n resources, leading to a denial of service.\n","status":"published","published":"2021-01-11T18:14:47Z","modified":"2026-04-22T10:11:06.69334Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
