VDB
CVE-2017-5992
CVE-2017-5992
PUBLISHED
CVSS 8.199999809265137 HIGH
Improper Restriction of XML External Entity Reference in Openpyxl
Reported by mitre · Published February 15, 2017
openpyxl is fixed in 2.4.2 and 2.4.1 (PyPI)
Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openpyxl | PyPI | 2.4.2, 2.4.1 |
| python-openpyxl | Arch Linux | 2.4.1-1 |
| openpyxl | Ubuntu:Pro:16.04:LTS | 2.3.0-1ubuntu0.1~esm1 |
Risk scores
CVSS 3.0
8.199999809265137
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | python-openpyxl | 0 |
| n/a | n/a | * |
| PyPI | openpyxl | 0 |
Timeline
- Feb 15, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 7, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Sep 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-5992
vulnetix vdb fixes CVE-2017-5992
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-5992/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2017-5992 advisory
- https://github.com/advisories/GHSA-chqf-hx79-gxc6 advisory
- https://foss.heptapod.net/openpyxl/openpyxl url
- https://foss.heptapod.net/openpyxl/openpyxl/-/commit/7fe678fd89fd url
- https://foss.heptapod.net/openpyxl/openpyxl/-/issues/749 url
- https://github.com/pypa/advisory-database/tree/main/vulns/openpyxl/PYSEC-2017-48.yaml advisory