cve.bz

CVE-2022-0217 prosody prosody: Billion Laughs Attack

7.5 highExploit referenceEPSS 5.2%Fix available

High (7.5) in prosody prosody. EPSS 5.2% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.2% (unchanged from 5.2% a week ago; 5.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-611 Improper Restriction of XML External Entity Reference
CWE-776 Improper Restriction of Recursive Entity References in DTDs (Billion Laughs Attack)
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-0217 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-0217?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-0217?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-0217 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
prosody:prosodybefore 0.11.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10prosody0.11.2-1+deb10u3DSA-5047-1
Debian11prosody0.11.9-2+deb11u1DSA-5047-1
Debian12, 13, 14prosody0.11.12-1DEBIAN-CVE-2022-0217
Ubuntu16.04:LTS, 20.04:LTS, 22.04:LTS and 5 moreprosodyno fix listedUBUNTU-CVE-2022-0217
SUSEPackage Hub 15 SP3prosody0.11.12-bp153.2.12.1openSUSE-SU-2022:0012-1
openSUSELeap 15.3prosody0.11.12-bp153.2.12.1openSUSE-SU-2022:0012-1
openSUSETumbleweedprosody0.11.12-1.1openSUSE-SU-2024:11736-1
Alpinev3.15, v3.16, v3.17 and 7 moreprosody0.11.12-r0ALPINE-CVE-2022-0217

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup
  • CAPEC-197 Exponential Data Expansion Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON