VDB

CVE-2020-27351

CVE-2020-27351 PUBLISHED CVSS 2 LOW

Various memory and file descriptor leaks in apt-python

Reported by canonical · Published December 10, 2020

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;

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python-aptUbuntu:18.04:LTS1.6.5ubuntu0.4
python-aptUbuntu:16.04:LTS1.1.0~beta1ubuntu0.16.04.10
advanced_package_tooldebian2.1.30ubuntu1.1, 2.0.0ubuntu0.20.04.2, 1.8.4.2, 1.6.5ubuntu0.4, 1.1.0~beta1ubuntu0.16.04.10
python-aptCanonical2.1.3ubuntu1.1, 2.0.0ubuntu0.20.04.2, 1.6.5ubuntu0.4, 1.1.0~beta1ubuntu0.16.04.10
python-aptUbuntu:20.04:LTS2.0.0ubuntu0.20.04.2
python-aptUbuntu:Pro:14.04:LTS0.9.3.5ubuntu3+esm4

Risk scores

CVSS 3.1
2
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
Canonicalpython-apt1.1.0~beta1, 1.6.5ubuntu0, 2.0.0ubuntu0
Canonicalpython-apt1.1.0~beta1, 1.6.5ubuntu0, 2.0.0ubuntu0

Timeline

  • Dec 9, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (4 in total, the first dated here)
  • Sep 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-27351
vulnetix vdb fixes CVE-2020-27351

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-27351/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
  • DSA-4809 vendor-advisoryx_refsource_DEBIAN
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›