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-2022-41230 Vulnerability in maven package org.jenkins-ci.plugins:build-publisher
CVE-2016-10531 Vulnerability in maven package org.webjars:marked
CVE-2020-5397 Vulnerability in maven package org.springframework:spring-webflux
CVE-2021-43859 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2023-5763 Vulnerability in maven package org.glassfish.main.orb:orb-connector