CVE-2016-5851
high
CVSS v3
8.8
CVSS v2
6.8
VIR risk
8.8
Description
python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.
Predictions
Exploit likelihood
92%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2016-5851.html
Vendor advisory: cve@mitre.org — https://github.com/python-openxml/python-docx/blob/v0.8.6/HISTORY.rst
Vendor advisory: cve@mitre.org — http://www.openwall.com/lists/oss-security/2016/06/28/7
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | python-docx | <0.8.6 | 0.8.6 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| python-openxml_project | python-docx | {"endIncluding":"0.8.5"} | |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-5851
- https://github.com/python-openxml/python-docx/commit/61b40b161b64173ab8e362aec1fd197948431beb
- https://github.com/advisories/GHSA-34wj-p5jm-2p96
- https://github.com/pypa/advisory-database/tree/main/vulns/python-docx/PYSEC-2016-21.yaml
- https://github.com/python-openxml/python-docx
- https://github.com/python-openxml/python-docx/blob/v0.8.6/HISTORY.rst
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FFMOH7ZPOPQWNJGUZOS5LXX4MGNRXXT
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XU2WSYRNB7CLBBFCGSX34XHACTA2SWDZ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6FFMOH7ZPOPQWNJGUZOS5LXX4MGNRXXT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XU2WSYRNB7CLBBFCGSX34XHACTA2SWDZ
- https://web.archive.org/web/20170214030949/http://www.securityfocus.com/bid/91485
- http://www.openwall.com/lists/oss-security/2016/06/28/7
- http://www.openwall.com/lists/oss-security/2016/06/28/8
- http://www.securityfocus.com/bid/91485
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FFMOH7ZPOPQWNJGUZOS5LXX4MGNRXXT/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XU2WSYRNB7CLBBFCGSX34XHACTA2SWDZ/
- https://www.suse.com/security/cve/CVE-2016-5851.html
CWEs
CWE-611
Verify integrity in audit chain (admin only). AS-IS.