CVE-2017-12621
commons-jelly: Apache Commons Jelly connects to URL with custom doctype definitions
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | commons-jelly:commons-jelly | 1.0.1 |
| debian 7 | jenkins-commons-jelly | no fix listed |
| debian 8 | jenkins-commons-jelly | no fix listed |
References
- http://www.securityfocus.com/bid/101052
- http://www.securitytracker.com/id/1039444
- https://access.redhat.com/security/cve/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://nvd.nist.gov/vuln/detail/CVE-2017-12621
- https://web.archive.org/web/20200227144849/http://www.securityfocus.com/bid/101052