Skip to content

CVE-2020-27351 Various memory and file descriptor leaks in apt-python

LowCVSS 2.8 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.0beta1 versions prior to 1.1.0beta1ubuntu0.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;

Upgrade path

9 packages: 9 fixed.

PackageAffectedFixed inStatus
Canonical python-apt >= 1.1.0~beta1, < 1.1.0~beta1ubuntu0.16.04.10; >= 1.6.5ubuntu0, < 1.6.5ubuntu0.4; >= 2.0.0ubuntu0, < 2.0.0ubuntu0.20.04.2; >= 2.1.3ubuntu1, < 2.1.3ubuntu1.1 1.1.0~beta1ubuntu0.16.04.10, 1.6.5ubuntu0.4, 2.0.0ubuntu0.20.04.2, 2.1.3ubuntu1.1 Fixed
debian advanced package tool < 1.8.4.2; >= 1.1.0\~beta1, < 1.1.0\~beta1ubuntu0.16.04.10; >= 1.6.5ubuntu0, < 1.6.5ubuntu0.4; >= 2.0.0ubuntu0, < 2.0.0ubuntu0.20.04.2 +1 more 1.1.0\~beta1ubuntu0.16.04.10, 1.6.5ubuntu0.4, 1.8.4.2, 2.0.0ubuntu0.20.04.2, 2.1.30ubuntu1.1 Fixed
debian/python-apt(Debian 12) < 2.1.7 2.1.7 Fixed
debian/python-apt(Debian 13) < 2.1.7 2.1.7 Fixed
debian/python-apt(Debian 14) < 2.1.7 2.1.7 Fixed
ubuntu python-apt(Ubuntu 16.04) < 1.1.0~beta1ubuntu0.16.04.10; = 1.0.1build1; = 1.0.1ubuntu2; = 1.1.0~beta1 +8 more 1.1.0~beta1ubuntu0.16.04.10 Fixed
ubuntu python-apt(Ubuntu 18.04) < 1.6.5ubuntu0.4; = 1.4.0~beta3build2; = 1.4.0~beta3ubuntu1; = 1.6.0 +10 more 1.6.5ubuntu0.4 Fixed
ubuntu python-apt(Ubuntu 20.04) < 2.0.0ubuntu0.20.04.2; = 1.9.0ubuntu1; = 1.9.0ubuntu3; = 1.9.0ubuntu5 +8 more 2.0.0ubuntu0.20.04.2 Fixed
ubuntu python-apt(Ubuntu Pro 14.04) < 0.9.3.5ubuntu3+esm4; = 0.8.9.1ubuntu1; = 0.9.0; = 0.9.1 +12 more 0.9.3.5ubuntu3+esm4 Fixed

Affected products

ProductAffected versionsFixed in
debian/python-apt(Debian:12) < 2.1.7 2.1.7
debian/python-apt(Debian:13) < 2.1.7 2.1.7
debian/python-apt(Debian:14) < 2.1.7 2.1.7
debian advanced package tool >= 1.1.0\~beta1, < 1.1.0\~beta1ubuntu0.16.04.10 1.1.0\~beta1ubuntu0.16.04.10
debian advanced package tool >= 1.6.5ubuntu0, < 1.6.5ubuntu0.4 1.6.5ubuntu0.4
debian advanced package tool >= 2.0.0ubuntu0, < 2.0.0ubuntu0.20.04.2 2.0.0ubuntu0.20.04.2
debian advanced package tool >= 2.1.3ubuntu1, < 2.1.30ubuntu1.1 2.1.30ubuntu1.1
debian advanced package tool < 1.8.4.2 1.8.4.2
Canonical python-apt >= 1.1.0~beta1, < 1.1.0~beta1ubuntu0.16.04.10 1.1.0~beta1ubuntu0.16.04.10
Canonical python-apt >= 1.6.5ubuntu0, < 1.6.5ubuntu0.4 1.6.5ubuntu0.4
Canonical python-apt >= 2.0.0ubuntu0, < 2.0.0ubuntu0.20.04.2 2.0.0ubuntu0.20.04.2
Canonical python-apt >= 2.1.3ubuntu1, < 2.1.3ubuntu1.1 2.1.3ubuntu1.1
ubuntu python-apt(Ubuntu:Pro:14.04) < 0.9.3.5ubuntu3+esm4 0.9.3.5ubuntu3+esm4
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.8.9.1ubuntu1 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.0 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.1 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.1ubuntu1 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.2 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.2ubuntu2 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.3 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.3ubuntu1 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.4 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.4build1 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.5 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.5ubuntu1 No fix listed
Show 41 more
ProductAffected versionsFixed in
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.5ubuntu2 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.5ubuntu3 No fix listed
ubuntu python-apt(Ubuntu:Pro:14.04) = 0.9.3.5ubuntu3+esm2 No fix listed
ubuntu python-apt(Ubuntu:16.04) < 1.1.0~beta1ubuntu0.16.04.10 1.1.0~beta1ubuntu0.16.04.10
ubuntu python-apt(Ubuntu:16.04) = 1.0.1build1 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.0.1ubuntu2 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.1.0~beta1 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.1.0~beta1build1 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.1.0~beta1ubuntu0.16.04.1 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.1.0~beta1ubuntu0.16.04.2 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.1.0~beta1ubuntu0.16.04.4 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.1.0~beta1ubuntu0.16.04.5 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.1.0~beta1ubuntu0.16.04.7 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.1.0~beta1ubuntu0.16.04.8 No fix listed
ubuntu python-apt(Ubuntu:16.04) = 1.1.0~beta1ubuntu0.16.04.9 No fix listed
ubuntu python-apt(Ubuntu:18.04) < 1.6.5ubuntu0.4 1.6.5ubuntu0.4
ubuntu python-apt(Ubuntu:18.04) = 1.4.0~beta3build2 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.4.0~beta3ubuntu1 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.0~rc2ubuntu1 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.0~rc2ubuntu2 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.0 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.1 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.2 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.3 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.3ubuntu1 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.4 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.5ubuntu0.1 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.5ubuntu0.2 No fix listed
ubuntu python-apt(Ubuntu:18.04) = 1.6.5ubuntu0.3 No fix listed
ubuntu python-apt(Ubuntu:20.04) < 2.0.0ubuntu0.20.04.2 2.0.0ubuntu0.20.04.2
ubuntu python-apt(Ubuntu:20.04) = 1.9.0ubuntu1 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 1.9.0ubuntu3 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 1.9.0ubuntu5 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 1.9.3ubuntu2 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 1.9.5 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 1.9.5build1 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 1.9.7 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 1.9.8 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 1.9.10 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 2.0.0 No fix listed
ubuntu python-apt(Ubuntu:20.04) = 2.0.0ubuntu0.20.04.1 No fix listed

References