CVE-2018-1000632
Dom4j contains a XML Injection vulnerability
Description
dom4j version prior to version 2.1.1 contains a CWE-91: XML Injection vulnerability in Class: Element. Methods: addElement, addAttribute that can result in an attacker tampering with XML documents through XML injection. This attack appear to be exploitable via an attacker specifying attributes or elements in the XML document. This vulnerability appears to have been fixed in 2.1.1 or later.
Note: This advisory applies to dom4j:dom4j version 1.x legacy artifacts. To resolve this a change to the latest version of org.dom4j:dom4j is recommended.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| dom4j » dom4j | <= 1.6.1 | - |
| org.dom4j » dom4j | < 2.0.3>= 2.1.0, < 2.1.1 | 2.0.3, 2.1.1 |
Blast radius
68% of the dependent artifacts (31,683) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 107,567 |
| 2 hops | 773,741 |
| 3 hops | 943,006 |
| 4 hops | 1,053,410 |
| 5 hops | 673,835 |
| 6 hops | 131,452 |
Most used dependents
- org.apache.maven.plugins » maven-javadoc-plugin84,916 usages
- org.apache.maven.plugins » maven-release-plugin29,114 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.apache.maven.plugins » maven-checkstyle-plugin11,720 usages
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.apache.maven.plugins » maven-plugin-plugin6,502 usages
- org.codehaus.mojo » versions-maven-plugin5,371 usages
- org.reflections » reflections5,225 usages
- org.hibernate » hibernate-core4,859 usages
- org.hibernate » hibernate-validator4,490 usages
- org.springframework.boot » spring-boot-starter-data-jpa4,154 usages
- com.zaxxer » HikariCP4,006 usages
- org.apache.poi » poi-ooxml3,690 usages
- org.freemarker » freemarker3,450 usages
- org.codehaus.mojo » cobertura-maven-plugin3,365 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2018-1000632
- Webhttps://github.com/dom4j/dom4j/issues/48
- Webhttps://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387
- Webhttps://github.com/dom4j/dom4j/commit/c2a99d7dee8ce7a4e5bef134bb781a6672bd8a0f
- Webhttps://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
- Webhttps://lists.apache.org/thread.html/7e9e78f0e4288fac6591992836d2a80d4df19161e54bd71ab4b8e458@%3Cdev.maven.apache.org%3E
- Webhttps://lists.apache.org/thread.html/7f6e120e6ed473f4e00dde4c398fc6698eb383bd7857d20513e989ce@%3Cdev.maven.apache.org%3E
- Webhttps://lists.apache.org/thread.html/9d4c1af6f702c3d6d6f229de57112ddccac8ce44446a01b7937ab9e0@%3Ccommits.maven.apache.org%3E
- Webhttps://lists.apache.org/thread.html/d7d960b2778e35ec9b4d40c8efd468c7ce7163bcf6489b633491c89f@%3Cdev.maven.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rb1b990d7920ae0d50da5109b73b92bab736d46c9788dd4b135cb1a51@%3Cnotifications.freemarker.apache.org%3E
- Webhttps://lists.debian.org/debian-lts-announce/2018/09/msg00028.html
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IOOVVCRQE6ATFD2JM2EMDXOQXTRIVZGP
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJULAHVR3I5SX7OSMXAG75IMNSAYOXGA
- Webhttps://security.netapp.com/advisory/ntap-20190530-0001
- Webhttps://www.oracle.com/security-alerts/cpuApr2021.html
- Webhttps://www.oracle.com/security-alerts/cpuapr2020.html
- Webhttps://www.oracle.com/security-alerts/cpujul2020.html
- Webhttps://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- Webhttps://lists.apache.org/thread.html/5a020ecaa3c701f408f612f7ba2ee37a021644c4a39da2079ed3ddbc@%3Ccommits.maven.apache.org%3E
- Webhttps://lists.apache.org/thread.html/4a77652531d62299a30815cf5f233af183425db8e3c9a824a814e768@%3Cdev.maven.apache.org%3E
- Webhttps://lists.apache.org/thread.html/00571f362a7a2470fba50a31282c65637c40d2e21ebe6ee535a4ed74@%3Ccommits.maven.apache.org%3E
- Webhttps://ihacktoprotect.com/post/dom4j-xml-injection
- Webhttps://github.com/dom4j/dom4j
- Advisoryhttps://github.com/advisories/GHSA-6pcc-3rfx-4gpm
- Webhttps://access.redhat.com/errata/RHSA-2019:3172
- Webhttps://access.redhat.com/errata/RHSA-2019:1162
- Webhttps://access.redhat.com/errata/RHSA-2019:1161
- Webhttps://access.redhat.com/errata/RHSA-2019:1160
- Webhttps://access.redhat.com/errata/RHSA-2019:1159
- Webhttps://access.redhat.com/errata/RHSA-2019:0380
- Webhttps://access.redhat.com/errata/RHSA-2019:0365
- Webhttps://access.redhat.com/errata/RHSA-2019:0364
- Webhttps://access.redhat.com/errata/RHSA-2019:0362
