Patchfirst
CVE-2022-34169 Public exploit High · 7.5 EPSS 81.8%

Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets

Fix:upgrade xalan to 2.7.3 or later Details ↓

Apache Software Foundation · Apache Xalan-J

Summary

Apache Xalan-J, the Apache Software Foundation's Java XSLT library, contains an integer truncation flaw in its handling of XSLT stylesheets, and the affected code lives in the internal XSLTC compiler. An attacker who can supply a malicious XSLT stylesheet to a network-reachable Xalan-J instance, with no authentication or user interaction required, can corrupt the Java class files the compiler generates and thereby execute arbitrary Java bytecode.

Official description · CVE.org

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.

Breakdown
32.5 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) appeared 27 days after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+27 days

Affected versions and fixes

as published in the CVE record

Apache Software Foundation Apache Xalan-J

Affected: >= Xalan-J, <= 2.7.2

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: xalan:xalan.

Mavenxalan:xalanGHSA-9339-86wc-4qgf

Upgrade to 2.7.3 or later

Set the version to 2.7.3 or later in your pom.xml or build.gradle.

The first fix for CVE-2022-34169. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 2.7.32.7.3

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

24 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close