CVE-2022-25236: Critical severity Libexpat Project Libexpat vulnerability
A flaw was found in expat. Passing one or more namespace separator characters in the "xmlns[:prefix]" attribute values made expat send malformed tag names to the XML processor on top of expat. This issue causes arbitrary code execution depending on how unexpected cases are handled inside the XML processor.
Other sources
xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/expatto a version that resolves this vulnerability.Fixed in 0:2.0.1-14.el6_10 - Upgrade
Upgrade
redhat/firefoxto a version that resolves this vulnerability.Fixed in 0:91.7.0-3.el7_9 - Upgrade
Upgrade
redhat/thunderbirdto a version that resolves this vulnerability.Fixed in 0:91.7.0-2.el7_9 - Upgrade
Upgrade
redhat/expatto a version that resolves this vulnerability.Fixed in 0:2.1.0-14.el7_9 - Upgrade
Upgrade
redhat/firefoxto a version that resolves this vulnerability.Fixed in 0:91.7.0-3.el8_5 - Upgrade
Upgrade
redhat/thunderbirdto a version that resolves this vulnerability.Fixed in 0:91.7.0-2.el8_5 - Upgrade
Upgrade
redhat/mingw-expatto a version that resolves this vulnerability.Fixed in 0:2.4.8-1.el8 - Upgrade
Upgrade
redhat/expatto a version that resolves this vulnerability.Fixed in 0:2.2.5-4.el8_5.3 - Upgrade
Upgrade
redhat/firefoxto a version that resolves this vulnerability.Fixed in 0:91.7.0-3.el8_1 - Upgrade
Upgrade
redhat/thunderbirdto a version that resolves this vulnerability.Fixed in 0:91.7.0-2.el8_1 - Upgrade
Upgrade
redhat/expatto a version that resolves this vulnerability.Fixed in 0:2.2.5-3.el8_1.1 - Upgrade
Upgrade
redhat/firefoxto a version that resolves this vulnerability.Fixed in 0:91.7.0-3.el8_2 - Upgrade
Upgrade
redhat/thunderbirdto a version that resolves this vulnerability.Fixed in 0:91.7.0-2.el8_2 - Upgrade
Upgrade
redhat/expatto a version that resolves this vulnerability.Fixed in 0:2.2.5-3.el8_2.2 - Upgrade
Upgrade
redhat/firefoxto a version that resolves this vulnerability.Fixed in 0:91.7.0-3.el8_4 - Upgrade
Upgrade
redhat/thunderbirdto a version that resolves this vulnerability.Fixed in 0:91.7.0-2.el8_4 - Upgrade
Upgrade
redhat/expatto a version that resolves this vulnerability.Fixed in 0:2.2.5-4.el8_4.2 - Upgrade
Upgrade
redhat/redhat-virtualization-hostto a version that resolves this vulnerability.Fixed in 0:4.3.22-20220330.1.el7_9 - Upgrade
Upgrade
debian/expatto a version that resolves this vulnerability.Fixed in 2.2.10-2+deb11u5Fixed in 2.2.10-2+deb11u7Fixed in 2.5.0-1+deb12u2Fixed in 2.5.0-1+deb12u1Fixed in 2.7.1-2Fixed in 2.8.1-1 - Upgrade
Upgrade
redhat/expatto a version that resolves this vulnerability.Fixed in 2.4.5 - Upgrade
Upgrade
Expat (libexpat)to a version that resolves this vulnerability.Fixed in 2.4.5 - Compensating control
Restrict applications using the expat (libexpat) library from processing untrusted XML content, since there is no known mitigation other than this restriction.
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the vulnerability ID of this flaw in Expat?
The vulnerability ID of this flaw in Expat is CVE-2022-25236.
What is the severity level of CVE-2022-25236?
The severity level of CVE-2022-25236 is critical.
What is the affected software of CVE-2022-25236?
The affected software of CVE-2022-25236 includes Expat (libexpat) versions before 2.4.5, Red Hat, Firefox, Thunderbird, mingw-expat, and others.
How can an attacker exploit CVE-2022-25236?
An attacker can exploit CVE-2022-25236 by passing namespace separator characters in the "xmlns[:prefix]" attribute values, causing expat to send malformed tag names to the XML processor.
Where can I find more information about CVE-2022-25236?
You can find more information about CVE-2022-25236 at the following references: http://www.openwall.com/lists/oss-security/2022/02/19/1, https://github.com/libexpat/libexpat/pull/561, and https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2056371