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;
problem types: CWE-772 Missing Release of Resource after Effective Lifetime
affected:
{
product: python-apt
vendor: Canonical
versions:
lessThan: 1.1.0~beta1ubuntu0.16.04.10, status: affected, version: 1.1.0~beta1, versionType: custom
lessThan: 1.6.5ubuntu0.4, status: affected, version: 1.6.5ubuntu0, versionType: custom
lessThan: 2.0.0ubuntu0.20.04.2, status: affected, version: 2.0.0ubuntu0, versionType: custom
lessThan: 2.1.3ubuntu1.1, status: affected, version: 2.1.3ubuntu1, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: LOW
baseScore: 2
baseSeverity: LOW
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L
version: 3.1
]