GHSA-xvqg-mv25-rwvw

Suggest an improvement
Source
https://github.com/advisories/GHSA-xvqg-mv25-rwvw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-xvqg-mv25-rwvw/GHSA-xvqg-mv25-rwvw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-xvqg-mv25-rwvw
Aliases
Related
Published
2022-09-15T03:26:10Z
Modified
2023-11-01T04:59:45.971557Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Parsing issue in matrix-org/node-irc leading to room takeovers
Details

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

  • https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity

Credits

Discovered and reported by Val Lorentz.

For more information

If you have any questions or comments about this advisory email us at security@matrix.org.

Database specific
{
    "nvd_published_at": "2022-09-13T19:15:00Z",
    "cwe_ids": [
        "CWE-269"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-09-15T03:26:10Z"
}
References

Affected packages

npm / matrix-appservice-irc

Package

Name
matrix-appservice-irc
View open source insights on deps.dev
Purl
pkg:npm/matrix-appservice-irc

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.35.0