{"id":"GHSA-xvqg-mv25-rwvw","summary":"Parsing issue in matrix-org/node-irc leading to room takeovers","details":"### 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).","aliases":["CVE-2022-39203"],"modified":"2023-11-01T04:59:45.971557Z","published":"2022-09-15T03:26:10Z","database_specific":{"cwe_ids":["CWE-269"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-09-15T03:26:10Z","nvd_published_at":"2022-09-13T19:15:00Z"},"references":[{"type":"WEB","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":"PACKAGE","url":"https://github.com/matrix-org/matrix-appservice-irc"},{"type":"WEB","url":"https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity"}],"affected":[{"package":{"name":"matrix-appservice-irc","ecosystem":"npm","purl":"pkg:npm/matrix-appservice-irc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.35.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-xvqg-mv25-rwvw/GHSA-xvqg-mv25-rwvw.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"}]}