CVE-2020-27351
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;
INFO
Published Date :
Dec. 10, 2020, 4:15 a.m.
Last Modified :
Nov. 21, 2024, 5:21 a.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2020-27351
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | LOW | [email protected] | ||||
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | LOW | [email protected] | 
Solution
- Update the affected packages.
- Upgrade the python-apt packages.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2020-27351.
                                        
| URL | Resource | 
|---|---|
| https://bugs.launchpad.net/bugs/1899193 | Broken Link | 
| https://usn.ubuntu.com/usn/usn-4668-1 | Vendor Advisory | 
| https://www.debian.org/security/2020/dsa-4809 | Vendor Advisory | 
| https://bugs.launchpad.net/bugs/1899193 | Broken Link | 
| https://usn.ubuntu.com/usn/usn-4668-1 | Vendor Advisory | 
| https://www.debian.org/security/2020/dsa-4809 | Vendor Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2020-27351 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2020-27351
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2020-27351 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2020-27351 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://bugs.launchpad.net/bugs/1899193 Added Reference https://usn.ubuntu.com/usn/usn-4668-1 Added Reference https://www.debian.org/security/2020/dsa-4809 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Initial Analysis by [email protected]Dec. 14, 2020 Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L Changed Reference Type https://bugs.launchpad.net/bugs/1899193 No Types Assigned https://bugs.launchpad.net/bugs/1899193 Broken Link Changed Reference Type https://usn.ubuntu.com/usn/usn-4668-1 No Types Assigned https://usn.ubuntu.com/usn/usn-4668-1 Vendor Advisory Changed Reference Type https://www.debian.org/security/2020/dsa-4809 No Types Assigned https://www.debian.org/security/2020/dsa-4809 Vendor Advisory Added CWE NIST CWE-772 Added CPE Configuration AND OR *cpe:2.3:a:debian:advanced_package_tool:*:*:*:*:*:*:*:* versions from (including) 1.1.0\~beta1 up to (excluding) 1.1.0\~beta1ubuntu0.16.04.10 OR cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Added CPE Configuration AND OR *cpe:2.3:a:debian:advanced_package_tool:*:*:*:*:*:*:*:* versions from (including) 1.6.5ubuntu0 up to (excluding) 1.6.5ubuntu0.4 OR cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Added CPE Configuration AND OR *cpe:2.3:a:debian:advanced_package_tool:*:*:*:*:*:*:*:* versions from (including) 2.0.0ubuntu0 up to (excluding) 2.0.0ubuntu0.20.04.2 OR cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* Added CPE Configuration AND OR *cpe:2.3:a:debian:advanced_package_tool:*:*:*:*:*:*:*:* versions from (including) 2.1.3ubuntu1 up to (excluding) 2.1.30ubuntu1.1 OR cpe:2.3:o:canonical:ubuntu_linux:20.10:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:a:debian:advanced_package_tool:*:*:*:*:*:*:*:* versions up to (excluding) 1.8.4.2 OR cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Dec. 10, 2020 Action Type Old Value New Value Added Reference https://www.debian.org/security/2020/dsa-4809 [No Types Assigned] 
- 
                            CVE Modified by [email protected]Dec. 10, 2020 Action Type Old Value New Value Changed 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; 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; 
Vulnerability Scoring Details
Base CVSS Score: 2.8
Base CVSS Score: 2.1
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.06 }} 0.00%
score
0.19758
percentile
 
                         
                         
                         
                                             
                                            