Description
A flaw was found in Wildfly's implementation of Xerces, specifically in the way the XMLSchemaValidator class in the JAXP component of Wildfly enforced the "use-grammar-pool-only" feature. This flaw allows a specially-crafted XML file to manipulate the validation process in certain cases. This issue is the same flaw as CVE-2020-14621, which affected OpenJDK, and uses a similar code. This flaw affects all Xerces JBoss versions before 2.12.0.SP3.
Remediation
References
https://bugzilla.redhat.com/show_bug.cgi?id=1860054
https://lists.apache.org/thread.html/rf96c5afb26b596b4b97883aa90b6c0b0fc4c26aaeea7123c21912103%40%3Cj-users.xerces.apache.org%3E
Related Vulnerabilities
CVE-2023-35926 Vulnerability in npm package @backstage/plugin-scaffolder-backend
CVE-2022-45391 Vulnerability in maven package io.jenkins.plugins:cavisson-ns-nd-integration
CVE-2019-20903 Vulnerability in npm package @atlaskit/editor-core
CVE-2021-20289 Vulnerability in maven package org.jboss.resteasy:resteasy-core
CVE-2021-21165 Vulnerability in maven package org.webjars.npm:electron