Vulnerability · Published Aug 26, 2022 · Assigned by redhat
CVE-2022-0217
High 7.5
In plain English
A high-severity security flaw in prosody. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.5% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
It was discovered that an internal Prosody library to load XML based on libexpat does not properly restrict the XML features allowed in parsed XML data. Given suitable attacker input, this results in expansion of recursive entity references from DTDs (CWE-776). In addition, depending on the libexpat version used, it may also allow injections using XML External Entity References (CWE-611).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | prosody | 0.11.12-r0 | ALPINE-CVE-2022-0217 |
| Alpine:v3.21 | prosody | 0.11.12-r0 | ALPINE-CVE-2022-0217 |
| Alpine:v3.22 | prosody | 0.11.12-r0 | ALPINE-CVE-2022-0217 |
| Alpine:v3.23 | prosody | 0.11.12-r0 | ALPINE-CVE-2022-0217 |
| Alpine:v3.24 | prosody | 0.11.12-r0 | ALPINE-CVE-2022-0217 |
| Debian:12 | prosody | 0.11.12-1 | DEBIAN-CVE-2022-0217 |
| Debian:13 | prosody | 0.11.12-1 | DEBIAN-CVE-2022-0217 |
| Debian:14 | prosody | 0.11.12-1 | DEBIAN-CVE-2022-0217 |
| Ubuntu:22.04:LTS | prosody | no fix listed | UBUNTU-CVE-2022-0217 |
| Ubuntu:24.04:LTS | prosody | no fix listed | UBUNTU-CVE-2022-0217 |
| Ubuntu:25.10 | prosody | no fix listed | UBUNTU-CVE-2022-0217 |
| Ubuntu:26.04:LTS | prosody | no fix listed | UBUNTU-CVE-2022-0217 |
| Ubuntu:26.10 | prosody | no fix listed | UBUNTU-CVE-2022-0217 |
Affected products (as reported)
Weakness: CWE-776
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2040639 x_refsource_MISC
- https://prosody.im/security/advisory_20220113/ x_refsource_MISC
- https://prosody.im/security/advisory_20220113/1.patch x_refsource_MISC