GHSA-86p9-x5pw-94qx
Improper Restriction of XML External Entity Reference in iText
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | com.itextpdf:itextpdf | < 5.5.12 | 5.5.12 |
| Maven | com.itextpdf:itextpdf | >= 7.0.0, < 7.0.3 | 7.0.3 |
| Maven | com.lowagie:itext | <= 4.2.2 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2017-9096
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03902en_us
- https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CSNC-2017-017_itext_xml_external_entity_attack.txt
- https://www.oracle.com/security-alerts/cpuoct2020.html
- http://www.securityfocus.com/archive/1/541483/100/0/threaded