XXE in Prosody

CVE-2022-0217

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

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS: 0.054 (92.4th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-0217: held from 0.054 to 0.054.

EPSS over last 30 days · oldest: 0.054 · newest: 0.054 · change: +0.000

Affected products

  • Prosody
  • Prosody — versions Fixed in prosody 0.11.12, Affects all versions with support for WebSockets.

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-0217?
CVE-2022-0217 is a high-severity vulnerability in Prosody, classified under Improper Restriction of Recursive Entity References in DTDs (XML Entity Expansion). CVSS score: 7.5/10. Published 2022-08-26.
How severe is CVE-2022-0217?
High severity. CVSS v3 base score is 7.5 out of 10.