Improper Restriction of XML External Entity Reference in Jelly
Date: 2022-05
Affected: maven/commons-jelly:commons-jelly
Attack vector: other
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2017-12621
CWE: CWE-611
CVSS: 9.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.


Mitigations:

Architectural layers (MAESTRO):