CVE-2022-34169
Apache Xalan Java XSLT library integer truncation issue when processing malicious XSLT stylesheets
Description
The Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets. This can be used to corrupt Java class files generated by the internal XSLTC compiler and execute arbitrary Java bytecode.
A fix for this issue was published in September 2022 as part of an anticipated 2.7.3 release.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| xalan » xalan | < 2.7.3 | 2.7.3 |
Blast radius
68% of the dependent artifacts (22,455) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 59,070 |
| 2 hops | 475,879 |
| 3 hops | 373,867 |
| 4 hops | 484,107 |
| 5 hops | 761,451 |
| 6 hops | 574,638 |
Most used dependents
- org.apache.maven.plugins » maven-release-plugin29,114 usages
- org.scalatest » scalatest20,465 usages
- org.renjin » renjin-maven-plugin13,886 usages
- org.springframework » spring-webmvc7,538 usages
- org.codehaus.mojo » versions-maven-plugin5,371 usages
- org.apache.poi » poi-ooxml3,690 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.freemarker » freemarker3,450 usages
- org.codehaus.mojo » cobertura-maven-plugin3,365 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.codehaus.mojo » findbugs-maven-plugin2,938 usages
- org.apache.spark » spark-core2,899 usages
- dom4j » dom4j2,809 usages
- commons-configuration » commons-configuration2,380 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-2022-34169
- Webhttps://xalan.apache.org
- Webhttps://www.oracle.com/security-alerts/cpujul2022.html
- Webhttps://www.debian.org/security/2022/dsa-5256
- Webhttps://www.debian.org/security/2022/dsa-5192
- Webhttps://www.debian.org/security/2022/dsa-5188
- Webhttps://security.netapp.com/advisory/ntap-20240621-0006
- Webhttps://security.netapp.com/advisory/ntap-20220729-0009
- Webhttps://security.gentoo.org/glsa/202401-25
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YULPNO3PAWMEQQZV2C54I3H3ZOXFZUTB
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L3XPOTPPBZIPFBZHQE5E7OW6PDACUMCJ
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO3DXNKZ4EU3UZBT6AAR4XRKCD73KLMO
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JN3EVGR7FD3ZLV5SBTJXUIDCMSK4QUE2
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I5OZNAZJ4YHLOKRRRZSWRT5OJ25E4XLM
- Webhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4YNJSJ64NPCNKFPNBYITNZU5H3L4D6L
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YULPNO3PAWMEQQZV2C54I3H3ZOXFZUTB
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3XPOTPPBZIPFBZHQE5E7OW6PDACUMCJ
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KO3DXNKZ4EU3UZBT6AAR4XRKCD73KLMO
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3EVGR7FD3ZLV5SBTJXUIDCMSK4QUE2
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I5OZNAZJ4YHLOKRRRZSWRT5OJ25E4XLM
- Webhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H4YNJSJ64NPCNKFPNBYITNZU5H3L4D6L
- Webhttps://lists.debian.org/debian-lts-announce/2022/10/msg00024.html
- Webhttps://lists.apache.org/thread/x3f7xv3p1g32qj2hlg8wd57pwcpld471
- Webhttps://lists.apache.org/thread/2qvl7r43wb4t8p9dd9om1bnkssk07sn8
- Webhttps://lists.apache.org/thread/12pxy4phsry6c34x2ol4fft6xlho4kyw
- Webhttps://gitbox.apache.org/repos/asf?p=xalan-java.git;a=commit;h=da3e0d06b467247643ce04e88d3346739d119f21
- Webhttps://gitbox.apache.org/repos/asf?p=xalan-java.git;a=commit;h=ab57211e5d2e97cbed06786f919fa9b749c83573
- Webhttps://gitbox.apache.org/repos/asf?p=xalan-java.git;a=commit;h=2e60d0a9a5b822c4abf9051857973b1c6babfe81
- Packagehttps://gitbox.apache.org/repos/asf?p=xalan-java.git
- Webhttp://packetstormsecurity.com/files/168186/Xalan-J-XSLTC-Integer-Truncation.html
- Webhttp://www.openwall.com/lists/oss-security/2022/07/19/5
- Webhttp://www.openwall.com/lists/oss-security/2022/07/19/6
- Webhttp://www.openwall.com/lists/oss-security/2022/07/20/2
- Webhttp://www.openwall.com/lists/oss-security/2022/07/20/3
- Webhttp://www.openwall.com/lists/oss-security/2022/10/18/2
- Webhttp://www.openwall.com/lists/oss-security/2022/11/04/8
- Webhttp://www.openwall.com/lists/oss-security/2022/11/07/2
