GHSA-6g33-82gc-3pw5
Improper Restriction of XML External Entity Reference in Jelly
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | commons-jelly:commons-jelly | < 1.0.1 | 1.0.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2017-12621
- https://github.com/apache/commons-jelly
- https://issues.apache.org/jira/browse/JELLY-293
- https://lists.apache.org/thread.html/f1fc3f2c45264af44ce782d54b5908ac95f02bf7ad88bb57bfb04b73@%3Cdev.commons.apache.org%3E
- https://web.archive.org/web/20200227144849/http://www.securityfocus.com/bid/101052
- https://web.archive.org/web/20210303081618/http://www.securitytracker.com/id/1039444