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).
References
Link Resource
https://bugzilla.redhat.com/show_bug.cgi?id=2040639 Issue Tracking Third Party Advisory
https://prosody.im/security/advisory_20220113/ Exploit Patch Vendor Advisory
https://prosody.im/security/advisory_20220113/1.patch Patch Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:prosody:prosody:*:*:*:*:*:*:*:*

History

26 Jun 2023, 17:48

Type Values Removed Values Added
CWE CWE-611

01 Sep 2022, 19:04

Type Values Removed Values Added
CPE cpe:2.3:a:prosody:prosody:*:*:*:*:*:*:*:*
CWE CWE-776
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2040639 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2040639 - Issue Tracking, Third Party Advisory
References (MISC) https://prosody.im/security/advisory_20220113/1.patch - (MISC) https://prosody.im/security/advisory_20220113/1.patch - Patch, Vendor Advisory
References (MISC) https://prosody.im/security/advisory_20220113/ - (MISC) https://prosody.im/security/advisory_20220113/ - Exploit, Patch, Vendor Advisory
First Time Prosody prosody
Prosody

26 Aug 2022, 18:47

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-26 18:15

Updated : 2023-12-10 14:35


NVD link : CVE-2022-0217

Mitre link : CVE-2022-0217

CVE.ORG link : CVE-2022-0217


JSON object : View

Products Affected

prosody

  • prosody
CWE
CWE-611

Improper Restriction of XML External Entity Reference

CWE-776

Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')