CVE-2020-27351 Various memory and file descriptor leaks in apt-python
Memory and file descriptor leaks in python-apt allow attackers to cause denial of service by exhausting system resources.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-27351?
CVE-2020-27351 is a low-severity denial of service vulnerability in Canonical python-apt, published on 10 Dec 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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;
Weakness: CWE-772
Which versions are affected by CVE-2020-27351?
It affects 1 product.
Products include Debian Advanced Package Tool.
How do I fix CVE-2020-27351?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2020-27351 being exploited?
There is no known exploitation of CVE-2020-27351 in the wild and no public exploit code.
Other vulnerabilities in Canonical python-apt
Sources
Also known as DEBIAN-CVE-2020-27351, DLA-2488-1, DSA-4809-1, GHSA-mfw3-hgv3-pg44, UBUNTU-CVE-2020-27351, USN-4668-1 and 1 more.