{"id":"CVE-2022-39203","summary":"Parsing issue in matrix-org/node-irc leading to room takeovers","details":"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.","aliases":["GHSA-xvqg-mv25-rwvw"],"modified":"2026-08-12T03:30:45.537275026Z","published":"2022-09-13T18:15:12Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39203.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-269"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39203.json"},{"type":"ADVISORY","url":"https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-xvqg-mv25-rwvw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39203"},{"type":"ARTICLE","url":"https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/matrix-org/matrix-appservice-irc","events":[{"introduced":"0"},{"fixed":"b52ac9ec9e45fe82fb3eb9c1a5e420c1eba73b9b"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.35.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:matrix:matrix_irc_bridge:*:*:*:*:*:node.js:*:*"}}],"versions":["0.33.1","0.33.0","0.33.0-rc2","0.32.0","0.32.0-rc2","0.32.0-rc1","0.31.0","0.31.0-rc1","0.27.0","0.27.0-rc3","0.27.0-rc2","0.27.0-rc1","0.25.0-rc1","0.24.0","0.24.0-rc1","0.23.0-fosdem","0.23.0","0.23.0-rc1","0.22.0","0.22.0-rc1","0.21.0","0.21.0-rc3","0.20.2","develop-2019-02-17","0.15.2","0.14.0-rc4","0.14.0-rc3","0.14.0-rc2","0.14.0-rc1","develop-2019-11-28","develop-2019-11-26","develop-2019-11-15","develop-2019-11-12","matrix-org-testing","0.10.1","v0.9.1","v0.9.0","v0.9.0-rc1","0.7.1","0.7.0","0.5.0","0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-39203.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}