Missing Release of Resource after Effective Lifetime Affecting python-apt package, versions <2.0.0ubuntu0.20.04.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-PYTHONAPT-1050034
  • published10 Dec 2020
  • disclosed10 Dec 2020

Introduced: 10 Dec 2020

CVE-2020-27351  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 python-apt to version 2.0.0ubuntu0.20.04.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-apt package and not the python-apt package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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;

CVSS Base Scores

version 3.1