Skip to content
Fencer Vulns
high 7.5

CVE-2022-0217 json

It was discovered that an internal Prosody library to load XML based on libexpat does not properly restrict the XML features allowed in par…

published 2022-08-26 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-15419

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.5%
EPSS 5.5% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

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).

Patch / fix

  • prosody prosody 0.11.12
  • prosody Debian 14, Debian 13, Debian 12 0.11.12-1

debian advisories DEBIAN-CVE-2022-0217

  • prosody openSUSE Tumbleweed 0.11.12-1.1
  • prosody Package Hub 15 SP3, openSUSE Leap 15.3 0.11.12-bp153.2.12.1

opensuse advisories openSUSE-SU-2024:11736-1openSUSE-SU-2022:0012-1

  • prosody Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 0.11.12-r0

alpine advisories ALPINE-CVE-2022-0217

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-0217 updated cvss 7.5

prosody: unauthenticated remote Denial of Service Attack

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.53% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • prosody.im https://prosody.im/security/advisory_20220113/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

  • n/a prosody

Classification

Weakness
  • CWE-776 Improper Restriction of Recursive Entity References in DTDs
  • CWE-611 Improper Restriction of XML External Entity Reference

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.