Vulnerability in expat
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2022-25235 has been found in expat.
Successful exploitation can lead to full system takeover.
What to do: upgrade expat to 2.1.0-4ubuntu1.4+esm4 or later.
If unsure, ask your IT team or search "expat UBUNTU-CVE-2022-25235" on the vendor's site.
UBUNTU-CVE-2022-25235 (expat)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 2.1.0-4ubuntu1.4+esm4 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in expat.
Check the vendor advisory for the affected versions of expat.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 2.1.0-4ubuntu1.4+esm4.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'expat' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'expat' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
expatを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade expat to 2.1.0-4ubuntu1.4+esm4ステージング環境で 2.1.0-4ubuntu1.4+esm4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSexpat |
< 2.1.0-4ubuntu1.4+esm4→ 2.1.0-4ubuntu1.4+esm4 |
2.1.0-4ubuntu1.4+esm4 |
| Ubuntu:Pro:14.04:LTScoin3 |
< 3.1.4~abc9f50-4ubuntu2+esm2→ 3.1.4~abc9f50-4ubuntu2+esm2 |
3.1.4~abc9f50-4ubuntu2+esm2 |
| Ubuntu:Pro:14.04:LTSvnc4 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:14.04:LTSvtk |
All versions→ Not listed |
Not listed |
| Ubuntu:14.04:LTSxmlrpc-c |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSexpat |
< 2.1.0-7ubuntu0.16.04.5+esm2→ 2.1.0-7ubuntu0.16.04.5+esm2 |
2.1.0-7ubuntu0.16.04.5+esm2 |
| Ubuntu:Pro:16.04:LTScoin3 |
< 3.1.4~abc9f50+dfsg1-1ubuntu0.1~esm2→ 3.1.4~abc9f50+dfsg1-1ubuntu0.1~esm2 |
3.1.4~abc9f50+dfsg1-1ubuntu0.1~esm2 |
| Ubuntu:Pro:16.04:LTSinsighttoolkit |
< 3.20.1+git20120521-6ubuntu0.1~esm1→ 3.20.1+git20120521-6ubuntu0.1~esm1 |
3.20.1+git20120521-6ubuntu0.1~esm1 |
| Ubuntu:Pro:16.04:LTSlibxmltok |
< 1.2-3ubuntu0.16.04.1~esm2→ 1.2-3ubuntu0.16.04.1~esm2 |
1.2-3ubuntu0.16.04.1~esm2 |
| Ubuntu:Pro:16.04:LTSswish-e |
< 2.4.7-4ubuntu0.1~esm1→ 2.4.7-4ubuntu0.1~esm1 |
2.4.7-4ubuntu0.1~esm1 |
| Ubuntu:16.04:LTSayttm |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTScableswig |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSinsighttoolkit4 |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSmatanza |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSvnc4 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSvtk |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSxmlrpc-c |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSexpat |
< 2.2.5-3ubuntu0.4→ 2.2.5-3ubuntu0.4 |
2.2.5-3ubuntu0.4 |
| Ubuntu:Pro:18.04:LTScoin3 |
< 3.1.4~abc9f50+dfsg3-2ubuntu0.1~esm1→ 3.1.4~abc9f50+dfsg3-2ubuntu0.1~esm1 |
3.1.4~abc9f50+dfsg3-2ubuntu0.1~esm1 |
| Ubuntu:Pro:18.04:LTSlibxmltok |
< 1.2-4ubuntu0.18.04.1~esm1→ 1.2-4ubuntu0.18.04.1~esm1 |
1.2-4ubuntu0.18.04.1~esm1 |
| Ubuntu:18.04:LTSmatanza |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSswish-e |
< 2.4.7-5ubuntu1+esm1→ 2.4.7-5ubuntu1+esm1 |
2.4.7-5ubuntu1+esm1 |
| Ubuntu:18.04:LTSvnc4 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSxmlrpc-c |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSexpat |
< 2.2.9-1ubuntu0.2→ 2.2.9-1ubuntu0.2 |
2.2.9-1ubuntu0.2 |
| Ubuntu:Pro:20.04:LTSlibxmltok |
< 1.2-4ubuntu0.20.04.1~esm1→ 1.2-4ubuntu0.20.04.1~esm1 |
1.2-4ubuntu0.20.04.1~esm1 |
| Ubuntu:20.04:LTSmatanza |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSswish-e |
< 2.4.7-6ubuntu0.1~esm1→ 2.4.7-6ubuntu0.1~esm1 |
2.4.7-6ubuntu0.1~esm1 |
| Ubuntu:20.04:LTSwbxml2 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSxmlrpc-c |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSfirefox |
< 1:1snap1-0ubuntu1→ 1:1snap1-0ubuntu1 |
1:1snap1-0ubuntu1 |
| Ubuntu:22.04:LTSmatanza |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSthunderbird |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSxmlrpc-c |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSlibxmltok |
< 1.2-4ubuntu0.22.04.1~esm1→ 1.2-4ubuntu0.22.04.1~esm1 |
1.2-4ubuntu0.22.04.1~esm1 |
| Ubuntu:Pro:22.04:LTSswish-e |
< 2.4.7-6.1ubuntu0.1~esm1→ 2.4.7-6.1ubuntu0.1~esm1 |
2.4.7-6.1ubuntu0.1~esm1 |
| Ubuntu:24.04:LTSlibxmltok |
< 1.2-4.1ubuntu1→ 1.2-4.1ubuntu1 |
1.2-4.1ubuntu1 |
| Ubuntu:24.04:LTSmatanza |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSthunderbird |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSxmlrpc-c |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSswish-e |
< 2.4.7-6.2ubuntu0.1~esm1→ 2.4.7-6.2ubuntu0.1~esm1 |
2.4.7-6.2ubuntu0.1~esm1 |
| Ubuntu:25.10matanza |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10swish-e |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10thunderbird |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10xmlrpc-c |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSmatanza |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSthunderbird |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSxmlrpc-c |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:26.04:LTSswish-e |
< 2.4.7-7.1ubuntu0.1~esm1→ 2.4.7-7.1ubuntu0.1~esm1 |
2.4.7-7.1ubuntu0.1~esm1 |
| Ubuntu:Pro:14.04:LTSxmlrpc-c |
< 1.33.06-0ubuntu1+esm1→ 1.33.06-0ubuntu1+esm1 |
1.33.06-0ubuntu1+esm1 |
| Ubuntu:Pro:16.04:LTSayttm |
< 0.6.3-3ubuntu0.1~esm1→ 0.6.3-3ubuntu0.1~esm1 |
0.6.3-3ubuntu0.1~esm1 |
| Ubuntu:Pro:16.04:LTSxmlrpc-c |
< 1.33.14-1ubuntu1+esm1→ 1.33.14-1ubuntu1+esm1 |
1.33.14-1ubuntu1+esm1 |
| Ubuntu:Pro:18.04:LTSxmlrpc-c |
< 1.33.14-8ubuntu0.18.04.1~esm1→ 1.33.14-8ubuntu0.18.04.1~esm1 |
1.33.14-8ubuntu0.18.04.1~esm1 |
| Ubuntu:Pro:20.04:LTSxmlrpc-c |
< 1.33.14-8ubuntu0.20.04.1~esm1→ 1.33.14-8ubuntu0.20.04.1~esm1 |
1.33.14-8ubuntu0.20.04.1~esm1 |
| Ubuntu:Pro:22.04:LTSxmlrpc-c |
< 1.33.14-10ubuntu0.1~esm1→ 1.33.14-10ubuntu0.1~esm1 |
1.33.14-10ubuntu0.1~esm1 |
| Ubuntu:Pro:24.04:LTSxmlrpc-c |
< 1.33.14-12ubuntu0.1~esm1→ 1.33.14-12ubuntu0.1~esm1 |
1.33.14-12ubuntu0.1~esm1 |
| Ubuntu:Pro:16.04:LTScableswig |
< 0.1.0+git20150808-2ubuntu0.1~esm1→ 0.1.0+git20150808-2ubuntu0.1~esm1 |
0.1.0+git20150808-2ubuntu0.1~esm1 |
| Ubuntu:26.10matanza |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10swish-e |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10thunderbird |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a certain context.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report github.com
- report github.com
- report github.com
- report cve.org