CVE-2017-5992
Openpyxl XML External Entity Injection (XXE)
Description
Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.
INFO
Published Date :
Feb. 15, 2017, 7:59 p.m.
Last Modified :
April 20, 2025, 1:37 a.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.0 | HIGH | [email protected] | 
Solution
- Update the affected python-openpyxl package.
- Update the affected python3-openpyxl package.
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-2017-5992.
                                        
| URL | Resource | 
|---|---|
| http://www.openwall.com/lists/oss-security/2017/02/07/5 | Mailing List Third Party Advisory | 
| https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1 | Issue Tracking Third Party Advisory | 
| https://bitbucket.org/openpyxl/openpyxl/issues/749 | Issue Tracking Third Party Advisory | 
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442 | Issue Tracking Third Party Advisory | 
| http://www.openwall.com/lists/oss-security/2017/02/07/5 | Mailing List Third Party Advisory | 
| https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1 | Issue Tracking Third Party Advisory | 
| https://bitbucket.org/openpyxl/openpyxl/issues/749 | Issue Tracking Third Party Advisory | 
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442 | Issue Tracking Third Party 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-2017-5992 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-2017-5992
            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-2017-5992 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2017-5992 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 http://www.openwall.com/lists/oss-security/2017/02/07/5 Added Reference https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1 Added Reference https://bitbucket.org/openpyxl/openpyxl/issues/749 Added Reference https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Initial Analysis by [email protected]Feb. 17, 2017 Action Type Old Value New Value Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:N/A:P) Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H Changed Reference Type https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442 No Types Assigned https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442 Third Party Advisory, Issue Tracking Changed Reference Type https://bitbucket.org/openpyxl/openpyxl/issues/749 No Types Assigned https://bitbucket.org/openpyxl/openpyxl/issues/749 Third Party Advisory, Issue Tracking Changed Reference Type http://www.openwall.com/lists/oss-security/2017/02/07/5 No Types Assigned http://www.openwall.com/lists/oss-security/2017/02/07/5 Third Party Advisory, Mailing List Changed Reference Type https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1 No Types Assigned https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1 Third Party Advisory, Issue Tracking Added CWE CWE-611 Added CPE Configuration OR *cpe:2.3:a:python:openpyxl:2.4.1:*:*:*:*:*:*:* 
Vulnerability Scoring Details
Base CVSS Score: 8.2
Base CVSS Score: 5.8
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.53 }} -0.48%
score
0.64510
percentile
 
                         
                         
                         
                                             
                                            