{"id":"CVE-2022-39203","aliases":["CVE-2022-39203","GHSA-xvqg-mv25-rwvw"],"related":[],"kind":"vulnerability","state":"published","title":"Parsing issue in matrix-org/node-irc leading to room takeovers","summary":"matrix-appservice-irc is an open source Node.js IRC bridge for Matrix. Attackers can specify a specific string of characters, which would confuse the bridge into combining an attacker-owned channel and an existing channel, allowing them to grant themselves permissions in the channel. The vulnerability has been patched in matrix-appservice-irc 0.35.0. As a workaround operators may disable dynamic channel joining via `dynamicChannels.enabled` to prevent users from joining new channels, which prevents any new channels being bridged outside of what is already bridged, and what is specified in the config.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"matrix-appservice-irc is an open source Node.js IRC bridge for Matrix. Attackers can specify a specific string of characters, which would confuse the bridge into combining an attacker-owned channel and an existing channel, allowing them to grant themselves permissions in the channel. The vulnerability has been patched in matrix-appservice-irc 0.35.0. As a workaround operators may disable dynamic channel joining via `dynamicChannels.enabled` to prevent users from joining new channels, which prevents any new channels being bridged outside of what is already bridged, and what is specified in the config.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAttackers can specify a specific string of characters, which would confuse the bridge into combining an attacker-owned channel and an existing channel, allowing them to grant themselves permissions in the channel.\n\n### Patched\n\nThe vulnerability has been patched in matrix-appservice-irc 0.35.0.\n\n### Workarounds\n\nDisable dynamic channel joining via `dynamicChannels.enabled` to prevent users from joining new channels, which prevents any new channels being bridged outside of what is already bridged, and what is specified in the config.\n\n### References\n\n- https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity\n\n### Credits\n\nDiscovered and reported by [Val Lorentz](https://valentin-lorentz.fr/).\n\n### For more information\n\nIf you have any questions or comments about this advisory email us at [security@matrix.org](mailto:security@matrix.org).","format":"markdown","source":"ghsa"},{"lang":"es","text":"matrix-appservice-irc es un puente IRC Node.js de código abierto para Matrix. Los atacantes pueden especificar una cadena de caracteres específica, que confundiría al puente para combinar un canal propiedad del atacante y un canal existente, lo que les permitiría concederse permisos en el canal. La vulnerabilidad ha sido parcheada en matrix-appservice-irc versión 0.35.0. Como mitigación, los operadores pueden deshabilitar la unión dinámica de canales por medio de \"dynamicChannels.enabled\" para evitar que usuarios sean unidos a nuevos canales, lo que evita que puenteen nuevos canales fuera de los que ya están puenteados, y lo que es especificado en la configuración","source":"nvd"}],"published":"2022-09-13T18:15:12.000Z","modified":"2026-06-17T04:57:54.513Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"version":"< 0.35.0","status":"affected"}],"vendor":"matrix-org","product":"matrix-appservice-irc","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.35.0"}],"ecosystem":"npm","package":"matrix-appservice-irc","purl":"pkg:npm/matrix-appservice-irc","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.35.0"}],"vendor":"matrix","product":"matrix_irc_bridge","cpe":"cpe:2.3:a:matrix:matrix_irc_bridge:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity/","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-xvqg-mv25-rwvw","tags":["mitigation","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39203","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/matrix-org/matrix-appservice-irc","tags":["package"],"sources":["ghsa"]},{"url":"https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:49:15.666Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39203","url":"https://www.cve.org/CVERecord?id=CVE-2022-39203","licence":"CVE Terms of Use","modified":"2025-04-23T17:11:08.544Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xvqg-mv25-rwvw","url":"https://github.com/advisories/GHSA-xvqg-mv25-rwvw","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:14.997Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39203","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39203","licence":"Public domain","modified":"2026-06-17T04:57:54.513Z"}],"updatedAt":"2026-11-25T22:58:14.902Z","epss":{"score":0.0091,"percentile":0.58149,"date":"2026-11-30T12:00:22.000Z"}}