python-openxml/python-docx · Security
Improper Restriction of XML External Entity Reference in python-docx
- GHSA ID
- GHSA-34wj-p5jm-2p96
- CVE ID
- CVE-2016-5851
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
python-docx before 0.8.6 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted document.
CWEs
- CWE-611 · Improper Restriction of XML External Entity Reference
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-5851 ↗
- https://github.com/python-openxml/python-docx/blob/v0.8.6/HISTORY.rst ↗
- http://www.openwall.com/lists/oss-security/2016/06/28/7 ↗
- http://www.openwall.com/lists/oss-security/2016/06/28/8 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/python-docx/PYSEC-2016-21.yaml ↗
- https://github.com/python-openxml/python-docx/commit/61b40b161b64173ab8e362aec1fd197948431beb ↗
- https://web.archive.org/web/20170214030949/http://www.securityfocus.com/bid/91485 ↗
- https://github.com/advisories/GHSA-34wj-p5jm-2p96 ↗
- 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/[email protected]/message/6FFMOH7ZPOPQWNJGUZOS5LXX4MGNRXXT ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XU2WSYRNB7CLBBFCGSX34XHACTA2SWDZ ↗
- http://www.securityfocus.com/bid/91485 ↗