Skip to content
OpenAdvisories
High · 8.2 CVE-2017-5992 EUVD-2017-0081GHSA-chqf-hx79-gxc6PYSEC-2017-48

Improper Restriction of XML External Entity Reference in Openpyxl

Published Feb 15, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openpyxl 2.3.0-3 —
Debian 13 openpyxl 2.3.0-3 —
Debian 12 openpyxl 2.3.0-3 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS openpyxl 2.3.0-1ubuntu0.1~esm1 USN-4821-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-openpyxl 3.1.3-1.1 openSUSE-SU-2026:12023-1, openSUSE-SU-2024:14028-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI openpyxl < 2.4.2 2.4.2 GHSA-chqf-hx79-gxc6
PyPI openpyxl < 2.4.1 2.4.1 PYSEC-2017-48

Advisories 3

References