CVE-2022-34169

NameCVE-2022-34169
DescriptionThe 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. The Apache Xalan Java project is dormant and in the process of being retired. No future releases of Apache Xalan Java to address this issue are expected. Note: Java runtimes (such as OpenJDK) include repackaged copies of Xalan.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3155-1, DSA-5188-1, DSA-5192-1, DSA-5256-1
Debian Bugs1015860

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bcel (PTS)buster6.2-1vulnerable
buster (security)6.2-1+deb10u1fixed
bullseye6.5.0-1vulnerable
bullseye (security)6.5.0-1+deb11u1fixed
bookworm, sid6.5.0-2fixed
openjdk-11 (PTS)buster, buster (security)11.0.16+8-1~deb10u1fixed
bullseye (security), bullseye11.0.16+8-1~deb11u1fixed
bookworm, sid11.0.17+8-2fixed
openjdk-17 (PTS)bullseye (security), bullseye17.0.4+8-1~deb11u1fixed
bookworm, sid17.0.5+8-2fixed
openjdk-8 (PTS)sid8u352-ga-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bcelsourcebuster6.2-1+deb10u1DLA-3155-1
bcelsourcebullseye6.5.0-1+deb11u1DSA-5256-1
bcelsource(unstable)6.5.0-21015860
openjdk-11sourcebuster11.0.16+8-1~deb10u1DSA-5188-1
openjdk-11sourcebullseye11.0.16+8-1~deb11u1DSA-5188-1
openjdk-11source(unstable)11.0.16+8-1
openjdk-17sourcebullseye17.0.4+8-1~deb11u1DSA-5192-1
openjdk-17source(unstable)17.0.4+8-1
openjdk-8source(unstable)8u342-b07-1

Notes

https://www.openwall.com/lists/oss-security/2022/07/19/5
https://github.com/openjdk/jdk/commit/41ef2b249073450172e11163a4d05762364b1297
Bug is most likely only in bcel which libxalan2-java depends on.
https://github.com/apache/commons-bcel/pull/147
https://github.com/apache/commons-bcel/commit/f3267cbcc900f80851d561bdd16b239d936947f5

Search for package or bug name: Reporting problems