CVE-2022-25236
expat: Namespace-separator characters in "xmlns[:prefix]" attribute values can lead to arbitrary code execution
Overview
Description
xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-668
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | Expat_jll | <2.4.8+0 | 2.4.8+0 |
Open a package to see all its vulnerabilities.
Operating systems · 93 fixes
Oracle Linux 2 releases · 3 packages
fixed 6
expat
thunderbird
firefox
| Release | Package | Fixed in |
|---|---|---|
| 7 | expat +2 | 2.1.0-14.0.1.el7_9 |
| 7 | thunderbird | 91.7.0-2.0.1.el7_9 |
| 7 | firefox | 91.7.0-3.0.1.el7_9 |
| 8 | expat +1 | 2.2.5-4.el8_5.3 |
| 8 | thunderbird | 91.7.0-2.0.1.el8_5 |
| 8 | firefox | 91.7.0-3.0.1.el8_5 |
Photon OS 1 release · 1 package
fixed 1
expat
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | expat +3 | 2.2.9-7.ph4 |
Red Hat 4 releases · 5 packages
fixed 18
affected 2
expat
redhat-virtualization-host-image-update
thunderbird
firefox
mingw32-expat
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | expat +2 | 0:2.1.0-14.el7_9 | RHSA-2022:1069 |
| 7 | redhat-virtualization-host-image-update | 0:4.3.22-20220330.1.el7_9 | RHSA-2022:1263 |
| 7 | thunderbird | 0:91.7.0-2.el7_9 | RHSA-2022:0850 |
| 7 | firefox | 0:91.7.0-3.el7_9 | RHSA-2022:0824 |
| 8 | expat +1 | 0:2.2.5-3.el8_1.1 | RHSA-2022:1068 |
| 8 | expat +1 | 0:2.2.5-3.el8_2.2 | RHSA-2022:1070 |
14 more rows
SUSE Linux Enterprise 3 releases · 2 packages
fixed 4
expat
libpython3-11-1-0
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | expat +3 | 2.1.0-21.18.1 | SUSE-SU-2022:0698-1 |
| 15.4 | expat +3 | 2.4.4-150400.3.6.9 | SUSE-SU-2022:2294-1 |
| 15.4 | libpython3-11-1-0 +10 | 3.11.8-150400.9.23.1 | SUSE-SU-2024:0782-1 |
| 15.5 | libpython3-11-1-0 +10 | 3.11.8-150400.9.23.1 | SUSE-SU-2024:0782-1 |
SUSE Linux Enterprise Micro 5 releases · 2 packages
fixed 5
libexpat1
libpython3-11-1-0
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.0 | libexpat1 | 2.2.5-3.15.1 | SUSE-SU-2022:0713-1 |
| 5.1 | libexpat1 | 2.2.5-3.15.1 | SUSE-SU-2022:0713-1 |
| 5.2 | libexpat1 | 2.2.5-3.19.1 | SUSE-SU-2022:0844-2 |
| 6.0 | libpython3-11-1-0 +3 | 3.11.8-3.1 | SUSE-SU-2025:20025-1 |
| 6.1 | libpython3-11-1-0 +3 | 3.11.12-slfo.1.1_1.1 | SUSE-SU-2025:20374-1 |
alma 1 release · 4 packages
fixed 4
expat
mingw32-expat
thunderbird
firefox
| Release | Package | Fixed in |
|---|---|---|
| 8 | expat +1 | 2.2.5-8.el8_6.2 |
| 8 | mingw32-expat +1 | 2.4.8-1.el8 |
| 8 | thunderbird | 91.7.0-2.el8_5.alma |
| 8 | firefox | 91.7.0-3.el8_5.alma |
alpine 4 releases · 1 package
fixed 4
expat
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | expat | 2.4.5-r0 |
| 3.23 | expat | 2.4.5-r0 |
| 3.24 | expat | 2.4.5-r0 |
| edge | expat | 2.4.5-r0 |
amazon linux 1 release · 1 package
fixed 1
expat
| Release | Package | Fixed in |
|---|---|---|
| 2023 | expat +4 | 2.5.0-1.amzn2023.0.2 |
debian 6 releases · 2 packages
fixed 6
affected 2
expat
libxmltok
| Release | Package | Fixed in |
|---|---|---|
| 10 | expat | 2.2.6-2+deb10u3 |
| 11 | libxmltok | affected |
| 11 | expat | 2.2.10-2+deb11u2 |
| 12 | libxmltok | affected |
| 12 | expat | 2.4.5-1 |
| 13 | expat | 2.4.5-1 |
2 more rows
echo 1 release · 1 package
fixed 1
expat
| Release | Package | Fixed in |
|---|---|---|
| expat | 2.4.5-1 |
openSUSE 1 release · 10 packages
fixed 10
libwbxml2-1
expat
python310
python311
python312
python313
+4
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libwbxml2-1 +2 | 0.11.8-1.1 | openSUSE-SU-2024:12622-1 |
| Tumbleweed | expat +4 | 2.4.6-1.1 | openSUSE-SU-2024:11866-1 |
| Tumbleweed | python310 +5 | 3.10.5-2.1 | openSUSE-SU-2024:12152-1 |
| Tumbleweed | python311 +5 | 3.11.0rc2-1.1 | openSUSE-SU-2024:12336-1 |
| Tumbleweed | python312 +5 | 3.12.0a7-1.1 | openSUSE-SU-2024:12910-1 |
| Tumbleweed | python313 +5 | 3.13.0~b3-1.1 | openSUSE-SU-2024:14109-1 |
4 more rows
rocky 1 release · 3 packages
fixed 3
expat
thunderbird
firefox
| Release | Package | Fixed in |
|---|---|---|
| 8 | expat +1 | 2.2.5-4.el8_5.3 |
| 8 | thunderbird | 91.7.0-2.el8_5 |
| 8 | firefox | 91.7.0-3.el8_5 |
root.io debian 3 releases · 1 package
fixed 3
rootio-expat
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-expat | 2.2.10-2+deb11u2 |
| 12 | rootio-expat | 2.4.5-1 |
| 13 | rootio-expat | 2.4.5-1 |
seal Red Hat 1 release · 1 package
fixed 1
expat
| Release | Package | Fixed in |
|---|---|---|
| 7 | expat +1 | 2.1.0-15.el7_9+sp999 |
seal debian 1 release · 1 package
fixed 1
expat
| Release | Package | Fixed in |
|---|---|---|
| expat +1 | 2.2.10-2+deb11u5+sp999 |
ubuntu 7 releases · 6 packages
fixed 18
affected 3
expat
libxmltok
xmlrpc-c
swish-e
coin3
firefox
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | expat | 2.2.5-3ubuntu0.4 |
| 18.04-ESM | libxmltok | 1.2-4ubuntu0.18.04.1~esm1 |
| 18.04-ESM | xmlrpc-c | 1.33.14-8ubuntu0.18.04.1~esm1 |
| 18.04-ESM | expat | 2.2.5-3ubuntu0.4 |
| 18.04-ESM | swish-e | 2.4.7-5ubuntu1+esm1 |
| 18.04-ESM | coin3 | 3.1.4~abc9f50+dfsg3-2ubuntu0.1~esm1 |
15 more rows
References
- packetstormsecurity.com http://packetstormsecurity.com/files/167238/Zoom-XMPP-Stanza-Smuggling-Remote-Code-Execution.html
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/02/19/1
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:0951
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:7811
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-25236
- blog.hartwork.org https://blog.hartwork.org/posts/expat-2-4-5-released/
- bugzilla.redhat.com https://bugzilla.redhat.com/2048356
- bugzilla.redhat.com https://bugzilla.redhat.com/2056350
- bugzilla.redhat.com https://bugzilla.redhat.com/2056354
- bugzilla.redhat.com https://bugzilla.redhat.com/2056363
Show all 65 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2056366
- bugzilla.redhat.com https://bugzilla.redhat.com/2056370
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044451
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044455
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044457
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044464
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044467
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044479
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044484
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044488
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044613
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2056363
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2056366
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2056370
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-484086.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45960
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46143
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22822
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22823
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22824
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22825
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22826
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22827
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23852
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25235
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25236
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25315
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2022-7811.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:0951
- github.com https://github.com/libexpat/libexpat/pull/561
- github.com https://github.com/libexpat/libexpat/pull/561/commits/2de077423fb22750ebea599677d523b53cb93b1d (test)
- github.com https://github.com/libexpat/libexpat/pull/561/commits/a2fe525e660badd64b6c557c2b1ec26ddc07f6e4 (fix)
- github.com https://github.com/libexpat/libexpat/pull/577
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-25236.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-9359.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/03/msg00007.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3UFRBA3UQVIQKXTBUQXDWQOVWNBKLERU/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y27XO3JMKAOMQZVPS3B4MJGEAHCZF5OM/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-25236
- security.gentoo.org https://security.gentoo.org/glsa/202209-24
- security.netapp.com https://security.netapp.com/advisory/ntap-20220303-0008/
- ubuntu.com https://ubuntu.com/security/notices/USN-5288-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5455-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8235-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8240-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8241-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8313-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8314-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8316-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-25236
- www.debian.org https://www.debian.org/security/2022/dsa-5085
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.