CVE Vulnerabilities

CVE-2017-5644

Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')

Published: Mar 24, 2017 | Modified: Apr 20, 2025
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
7.1 HIGH
AV:N/AC:M/Au:N/C:N/I:N/A:C
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Apache POI in versions prior to release 3.15 allows remote attackers to cause a denial of service (CPU consumption) via a specially crafted OOXML file, aka an XML Entity Expansion (XEE) attack.

Weakness

The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.

Affected Software

NameVendorStart VersionEnd Version
PoiApache*3.14 (including)
Libapache-poi-javaUbuntuartful*
Libapache-poi-javaUbuntuesm-apps/xenial*
Libapache-poi-javaUbuntuprecise*
Libapache-poi-javaUbuntutrusty*
Libapache-poi-javaUbuntuupstream*
Libapache-poi-javaUbuntuxenial*
Libapache-poi-javaUbuntuyakkety*
Libapache-poi-javaUbuntuzesty*

Potential Mitigations

References