CVE-2022-34169
OpenJDK: integer truncation issue in Xalan-J (JAXP, 8285407)
Overview
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. Users are recommended to update to version 2.7.3 or later. Note: Java runtimes (such as OpenJDK) include repackaged copies of Xalan.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-681
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | java | =1.8.0-333=11.0.15-1=17.0.3-1 | No fix yet |
| Bitnami | java-min | =1.8.0-333=11.0.15-1=17.0.3-1 | No fix yet |
| Bitnami | jre | =1.8.0-333=11.0.15-1=17.0.3-1 | No fix yet |
| Maven | xalan:xalan | <2.7.3 | 2.7.3 |
Open a package to see all its vulnerabilities.
Operating systems · 224 fixes
Oracle Linux 3 releases · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | java-1-8-0-openjdk-accessibility-04e186 +7 | 1:1.8.0.342.b07-1.el7_9 |
| 7 | java-11-openjdk +8 | 1:11.0.16.0.8-1.0.1.el7_9 |
| 7 | graalvm21-ce-11 +37 | 21.3.3-1.el7 |
| 7 | graalvm22-ce-11 +39 | 22.2.0-1.el7 |
| 8 | java-1-8-0-openjdk-accessibility-04e186 +19 | 1:1.8.0.342.b07-2.el8_6 |
| 8 | java-11-openjdk +22 | 1:11.0.16.0.8-1.el8_6 |
6 more rows
Photon OS 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openjdk8 +4 | 1.8.0.382-1.ph4 |
| 4.0 | openjdk11 +3 | 11.0.30-1.ph4 |
Red Hat 3 releases · 62 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | java-1-6-0-openjdk +11 | eol | — |
| 7 | eap7-insights-java-client +1 | 0:1.1.3-1.redhat_00001.1.el7eap | RHSA-2024:8075 |
| 7 | eap7-jboss-server-migration +2 | 0:1.10.0-39.Final_redhat_00039.1.el7eap | RHSA-2024:8075 |
| 7 | eap7-jsoup | 0:1.15.4-1.redhat_00003.1.el7eap | RHSA-2024:8075 |
| 7 | eap7-log4j-jboss-logmanager | 0:1.2.2-2.Final_redhat_00002.1.el7eap | RHSA-2024:10207 |
| 7 | eap7-h2database | 0:1.4.197-2.redhat_00005.1.ep7.el7 | RHSA-2024:10208 |
133 more rows
SUSE Linux Enterprise 2 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | java-1-7-1-ibm-1853d8 +4 | 1.7.1_sr5.15-38.74.1 | SUSE-SU-2022:2898-1 |
| 12.5 | java-1-8-0-openjdk-91ef61 +3 | 1.8.0.345-27.78.1 | SUSE-SU-2022:2819-1 |
| 12.5 | java-1-8-0-ibm-6d061c +3 | 1.8.0_sr7.11-30.93.1 | SUSE-SU-2022:2899-1 |
| 12.5 | java-11-openjdk +3 | 11.0.16.0-3.46.1 | SUSE-SU-2022:2610-1 |
| 15.4 | java-1-8-0-openjdk-91ef61 +3 | 1.8.0.345-150000.3.70.1 | SUSE-SU-2022:2856-1 |
| 15.4 | java-1-8-0-ibm-6d061c +3 | 1.8.0_sr7.11-150000.3.62.1 | SUSE-SU-2022:2949-1 |
2 more rows
alma 2 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | java-1-8-0-openjdk-accessibility-04e186 +19 | 1:1.8.0.342.b07-2.el8_6 |
| 8 | java-11-openjdk +22 | 1:11.0.16.0.8-1.el8_6 |
| 9 | java-1-8-0-openjdk-cba9cc +16 | 1:1.8.0.342.b07-1.el9_0 |
| 9 | java-11-openjdk +22 | 1:11.0.16.0.8-1.el9_0 |
| 9 | java-17-openjdk +22 | 1:17.0.4.0.8-2.el9_0 |
alpine 4 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openjdk11 | 11.0.16_p8-r0 |
| 3.22 | openjdk17 | 17.0.4_p8-r0 |
| 3.22 | openjdk8 | 8.345.01-r0 |
| 3.23 | openjdk11 | 11.0.16_p8-r0 |
| 3.23 | openjdk17 | 17.0.4_p8-r0 |
| 3.23 | openjdk8 | 8.345.01-r0 |
6 more rows
debian 5 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | openjdk-11 | 11.0.16+8-1~deb10u1 |
| 10 | bcel | 6.2-1+deb10u1 |
| 11 | openjdk-11 | 11.0.16+8-1~deb11u1 |
| 11 | openjdk-17 | 17.0.4+8-1~deb11u1 |
| 11 | bcel | 6.5.0-1+deb11u1 |
| 12 | openjdk-17 | 17.0.4+8-1 |
3 more rows
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openjdk-17 | 17.0.4+8-1 | |
| bcel | 6.5.0-2 |
openSUSE 1 release · 13 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby3-2-rubygem-nokogiri | 1.15.4-1.1 | openSUSE-SU-2024:13440-1 |
| Tumbleweed | ruby3-3-rubygem-nokogiri | 1.15.5-1.5 | openSUSE-SU-2024:14174-1 |
| Tumbleweed | ruby3-4-rubygem-nokogiri | 1.18.2-1.1 | openSUSE-SU-2025:14697-1 |
| Tumbleweed | ruby4-0-rubygem-nokogiri | 1.18.9-1.4 | openSUSE-SU-2026:10356-1 |
| Tumbleweed | java-1-8-0-openjdk-91ef61 +6 | 1.8.0.345-1.1 | openSUSE-SU-2024:12234-1 |
| Tumbleweed | java-1-8-0-openj9 +6 | 1.8.0.345-1.1 | openSUSE-SU-2024:12263-1 |
7 more rows
rocky 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | java-1-8-0-openjdk-accessibility-04e186 +7 | 1:1.8.0.342.b07-2.el8_6 |
| 8 | java-11-openjdk +8 | 1:11.0.16.0.8-1.el8_6 |
| 8 | java-17-openjdk +8 | 1:17.0.4.0.8-2.el8_6 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openjdk-17 | 17.0.4+8-1 |
ubuntu 7 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | openjdk-lts | 11.0.16+8-0ubuntu1~18.04 |
| 18.04 | openjdk-17 | 17.0.4+8-1~18.04 |
| 18.04 | openjdk-8 | 8u342-b07-0ubuntu1~18.04 |
| 18.04-ESM | openjdk-lts | 11.0.16+8-0ubuntu1~18.04 |
| 18.04-ESM | openjdk-17 | 17.0.4+8-1~18.04 |
| 18.04-ESM | openjdk-8 | 8u342-b07-0ubuntu1~18.04 |
12 more rows
References
- packetstormsecurity.com http://packetstormsecurity.com/files/168186/Xalan-J-XSLTC-Integer-Truncation.html
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/07/19/5
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/07/19/6
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/07/20/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/07/20/3
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/10/18/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/04/8
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/11/07/2
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:5736
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-21540.json
Show all 64 references
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-21541.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-21549.json
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-34169.json
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-34169
- bugzilla.redhat.com https://bugzilla.redhat.com/2108540
- bugzilla.redhat.com https://bugzilla.redhat.com/2108543
- bugzilla.redhat.com https://bugzilla.redhat.com/2108547
- bugzilla.redhat.com https://bugzilla.redhat.com/2108554
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-5736.html
- gitbox.apache.org https://gitbox.apache.org/repos/asf?p=xalan-java.git
- gitbox.apache.org https://gitbox.apache.org/repos/asf?p=xalan-java.git;a=commit;h=2e60d0a9a5b822c4abf9051857973b1c6babfe81
- gitbox.apache.org https://gitbox.apache.org/repos/asf?p=xalan-java.git;a=commit;h=ab57211e5d2e97cbed06786f919fa9b749c83573
- gitbox.apache.org https://gitbox.apache.org/repos/asf?p=xalan-java.git;a=commit;h=da3e0d06b467247643ce04e88d3346739d119f21
- github.com https://github.com/openjdk/jdk/commit/41ef2b249073450172e11163a4d05762364b1297
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-34169.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-9656.html
- lists.apache.org https://lists.apache.org/thread/12pxy4phsry6c34x2ol4fft6xlho4kyw
- lists.apache.org https://lists.apache.org/thread/2qvl7r43wb4t8p9dd9om1bnkssk07sn8
- lists.apache.org https://lists.apache.org/thread/x3f7xv3p1g32qj2hlg8wd57pwcpld471
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/10/msg00024.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H4YNJSJ64NPCNKFPNBYITNZU5H3L4D6L
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H4YNJSJ64NPCNKFPNBYITNZU5H3L4D6L/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I5OZNAZJ4YHLOKRRRZSWRT5OJ25E4XLM
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I5OZNAZJ4YHLOKRRRZSWRT5OJ25E4XLM/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3EVGR7FD3ZLV5SBTJXUIDCMSK4QUE2
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3EVGR7FD3ZLV5SBTJXUIDCMSK4QUE2/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KO3DXNKZ4EU3UZBT6AAR4XRKCD73KLMO
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KO3DXNKZ4EU3UZBT6AAR4XRKCD73KLMO/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3XPOTPPBZIPFBZHQE5E7OW6PDACUMCJ
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3XPOTPPBZIPFBZHQE5E7OW6PDACUMCJ/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YULPNO3PAWMEQQZV2C54I3H3ZOXFZUTB
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YULPNO3PAWMEQQZV2C54I3H3ZOXFZUTB/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4YNJSJ64NPCNKFPNBYITNZU5H3L4D6L
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I5OZNAZJ4YHLOKRRRZSWRT5OJ25E4XLM
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JN3EVGR7FD3ZLV5SBTJXUIDCMSK4QUE2
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO3DXNKZ4EU3UZBT6AAR4XRKCD73KLMO
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L3XPOTPPBZIPFBZHQE5E7OW6PDACUMCJ
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YULPNO3PAWMEQQZV2C54I3H3ZOXFZUTB
- marc.info https://marc.info/?l=oss-security&m=165825217622132
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-34169
- openjdk.org https://openjdk.org/groups/vulnerability/advisories/2022-07-19
- security.gentoo.org https://security.gentoo.org/glsa/202401-25
- security.netapp.com https://security.netapp.com/advisory/ntap-20220729-0009
- security.netapp.com https://security.netapp.com/advisory/ntap-20220729-0009/
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0006
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0006/
- ubuntu.com https://ubuntu.com/security/notices/USN-5546-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5546-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-34169
- www.debian.org https://www.debian.org/security/2022/dsa-5188
- www.debian.org https://www.debian.org/security/2022/dsa-5192
- www.debian.org https://www.debian.org/security/2022/dsa-5256
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
- xalan.apache.org https://xalan.apache.org
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.