ghsa-cq7q-5c67-w39w
Vulnerability from github
Published
2022-09-15 03:26
Modified
2022-10-07 16:25
Severity ?
VLAI Severity ?
Summary
matrix-appservice-irc vulnerable to IRC mode parameter confusion
Details
Impact
IRC allows you to specify multiple modes in a single mode command. Due to a bug in the underlying matrix-org/node-irc library, affected versions of matrix-appservice-irc perform parsing of such modes incorrectly, potentially resulting in the wrong user being given permissions.
Mode commands can only be executed by privileged users, so this can only be abused if an operator is tricked into running the command on behalf of an attacker.
Patches
The vulnerability has been patched in matrix-appservice-irc 0.35.0.
Workarounds
Refrain from entering mode commands suggested by untrusted users. Avoid using multiple modes in a single command.
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "matrix-appservice-irc" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.35.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-39202" ], "database_specific": { "cwe_ids": [ "CWE-269" ], "github_reviewed": true, "github_reviewed_at": "2022-09-15T03:26:25Z", "nvd_published_at": "2022-09-13T18:15:00Z", "severity": "MODERATE" }, "details": "### Impact\n\nIRC allows you to specify multiple modes in a single mode command. Due to a bug in the underlying matrix-org/node-irc library, affected versions of matrix-appservice-irc perform parsing of such modes incorrectly, potentially resulting in the wrong user being given permissions.\n\nMode commands can only be executed by privileged users, so this can only be abused if an operator is tricked into running the command on behalf of an attacker.\n\n### Patches\n\nThe vulnerability has been patched in matrix-appservice-irc 0.35.0.\n\n### Workarounds\n\nRefrain from entering mode commands suggested by untrusted users. Avoid using multiple modes in a single command.\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).", "id": "GHSA-cq7q-5c67-w39w", "modified": "2022-10-07T16:25:42Z", "published": "2022-09-15T03:26:25Z", "references": [ { "type": "WEB", "url": "https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-cq7q-5c67-w39w" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-39202" }, { "type": "WEB", "url": "https://github.com/matrix-org/matrix-appservice-irc/commit/5f87dbed87b4b6dc49b7965ff152ee8535719e67" }, { "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" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L", "type": "CVSS_V3" } ], "summary": "matrix-appservice-irc vulnerable to IRC mode parameter confusion" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…