CVE-2020-27351
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-apt | Ubuntu:18.04:LTS | 1.6.5ubuntu0.4 |
| python-apt | Ubuntu:16.04:LTS | 1.1.0~beta1ubuntu0.16.04.10 |
| advanced_package_tool | debian | 2.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-apt | Canonical | 2.1.3ubuntu1.1, 2.0.0ubuntu0.20.04.2, 1.6.5ubuntu0.4, 1.1.0~beta1ubuntu0.16.04.10 |
| python-apt | Ubuntu:20.04:LTS | 2.0.0ubuntu0.20.04.2 |
| python-apt | Ubuntu:Pro:14.04:LTS | 0.9.3.5ubuntu3+esm4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | python-apt | 1.1.0~beta1, 1.6.5ubuntu0, 2.0.0ubuntu0 |
| Canonical | python-apt | 1.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