Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS14dnFnLW12MjUtcnd2d84AAuzw
Parsing issue in matrix-org/node-irc leading to room takeovers
Impact
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.
Patched
The vulnerability has been patched in matrix-appservice-irc 0.35.0.
Workarounds
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.
References
Credits
Discovered and reported by Val Lorentz.
For more information
If you have any questions or comments about this advisory email us at [email protected].
Permalink: https://github.com/advisories/GHSA-xvqg-mv25-rwvwJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14dnFnLW12MjUtcnd2d84AAuzw
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 1 year ago
Updated: about 1 year ago
CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-xvqg-mv25-rwvw, CVE-2022-39203
References:
- https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-xvqg-mv25-rwvw
- https://nvd.nist.gov/vuln/detail/CVE-2022-39203
- https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity/
- https://github.com/advisories/GHSA-xvqg-mv25-rwvw
Blast Radius: 0.0
Affected Packages
npm:matrix-appservice-irc
Dependent packages: 2Dependent repositories: 1
Downloads: 66 last month
Affected Version Ranges: < 0.35.0
Fixed in: 0.35.0
All affected versions: 0.1.0, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.13.0, 0.15.2, 0.16.0, 0.17.0, 0.17.1, 0.18.0, 0.19.0, 0.20.1, 0.20.3, 0.21.0, 0.22.0, 0.23.0, 0.24.0, 0.25.0, 0.26.0, 0.26.1, 0.27.0, 0.29.0, 0.30.0, 0.31.0, 0.32.1
All unaffected versions: 0.35.0, 0.35.1, 0.36.0