{"id":"CVE-2022-0217","aliases":["ALPINE-CVE-2022-0217","DEBIAN-CVE-2022-0217","DSA-5047-1","EUVD-2022-15419","UBUNTU-CVE-2022-0217","openSUSE-SU-2022:0012-1","openSUSE-SU-2024:11736-1"],"status":"published","title":"prosody - security update","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).","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.05526,"percentile":0.92913,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611","CWE-776"],"published":"2022-01-14T13:36:36Z","modified":"2026-11-03T07:30:04Z","fixes":[{"ecosystem":"Alpine:v3.15","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"prosody","fixed_in":["0.11.12-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"prosody","fixed_in":["0.11.12-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"prosody","fixed_in":["0.11.12-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"prosody","fixed_in":["0.11.12-1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"prosody","fixed_in":["0.11.2-1+deb10u3"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"prosody","fixed_in":["0.11.9-2+deb11u1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP3","package":"prosody","fixed_in":["0.11.12-bp153.2.12.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"prosody","fixed_in":["0.11.12-bp153.2.12.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"prosody","fixed_in":["0.11.12-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.15","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.2-1+deb10u3"}]}],"versions":["0.11.2-1","0.11.2-1+deb10u1","0.11.2-1+deb10u2"]},{"source":"osv","ecosystem":"Debian:11","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.9-2+deb11u1"}]}],"versions":["0.11.9-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8-1","0.9.9-1","0.9.10-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.12-2","0.10.0-1","0.10.0-1build1","0.10.0-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-1","0.11.3-1","0.11.4-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.10-1","0.11.10-1build1","0.11.10-1build2","0.11.11-1","0.11.11-2","0.11.12-1","0.11.13-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.3-1","0.12.4-1","0.12.4-1build1","0.12.4-1build2","0.12.4-1build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.5-1build1","13.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["13.0.4-2","13.0.5-1","13.0.6-1","13.0.6-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["13.0.1-1","13.0.2-1","13.0.2-1build1","13.0.3-1","13.0.4-1","13.0.4-2"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-bp153.2.12.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-bp153.2.12.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"prosody","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.12-1.1"}]}]}],"products":[{"vendor":"prosody","product":"prosody"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2040639","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://prosody.im/security/advisory_20220113/","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Vendor Advisory","fix","report"]},{"url":"https://prosody.im/security/advisory_20220113/1.patch","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-0217","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-0217","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-0217","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2022/01/13/3","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-0217","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/T4AYNB4WRJM6UGUGE4MCR3AAVYPLM2PP/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1194596","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-0217","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-0217","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).","status":"published","published":"2022-08-26T17:25:47Z","modified":"2024-08-02T23:18:42.807Z","cwes":["CWE-776"],"updated_at":"2026-11-02T14:34:41.69911Z"}],"euvd":[{"id":"EUVD-2022-15419","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).","status":"published","published":"2022-08-26T17:25:47Z","modified":"2024-08-02T23:18:42Z","updated_at":"2026-11-03T03:26:06.080876Z"}],"nvd":[{"id":"CVE-2022-0217","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).","status":"published","published":"2022-08-26T18:15:08.833Z","modified":"2026-06-17T04:20:10.29Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-776","CWE-611"],"updated_at":"2026-11-02T14:07:25.883929Z"}],"osv":[{"id":"ALPINE-CVE-2022-0217","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).","status":"published","published":"2022-08-26T18:15:08.833Z","modified":"2026-11-03T07:30:04.685382636Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:50:38.973973Z"},{"id":"CVE-2022-0217","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).","status":"published","published":"2022-08-26T18:15:08.833Z","modified":"2026-03-15T14:45:54.964857Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:22.824781Z"},{"id":"DEBIAN-CVE-2022-0217","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).","status":"published","published":"2022-08-26T18:15:08.833Z","modified":"2026-11-03T08:00:50.943969028Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T08:25:01.007408Z"},{"id":"UBUNTU-CVE-2022-0217","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).","status":"published","published":"2022-08-26T18:15:00Z","modified":"2026-10-17T12:56:16.286525394Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:51.630172Z"},{"id":"DSA-5047-1","title":"prosody - security update","status":"published","published":"2022-01-15T00:00:00Z","modified":"2026-03-09T02:09:10.462215Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"openSUSE-SU-2022:0012-1","title":"Security update for prosody","description":"This update for prosody fixes the following issues:\n\nUpdate to 0.11.12:\n\n* CVE-2022-0217: util.xml: Do not allow doctypes, comments or processing instructions (bsc#1194596)\n","status":"published","published":"2022-01-14T13:36:36Z","modified":"2026-02-04T02:39:33.645117Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:11736-1","title":"prosody-0.11.12-1.1 on GA media","description":"These are all security issues fixed in the prosody-0.11.12-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:07:55.150675Z","updated_at":"2026-11-02T16:58:35.195147Z"}]}}
