GHSA-c7hh-3v6c-fj4q
matrix-appservice-irc events can be crafted to leak parts of targeted messages from other bridged rooms
Quick fix
GHSA-c7hh-3v6c-fj4q — matrix-appservice-irc: upgrade to the fixed version with the command below.
npm install matrix-appservice-irc@1.0.1Details
### Impact
It was possible to craft an event such that it would leak part of a targeted message event from another bridged room. This required knowing an event ID to target.
### Patches
Please upgrade to 1.0.1.
### Workarounds
You can set the `matrixHandler.eventCacheSize` config value to `0` to workaround this bug. However, this may impact performance.
### Credits
Discovered and reported by [Val Lorentz](https://valentin-lorentz.fr/).
### For more information
If you have any questions or comments about this advisory email us at [security@matrix.org](mailto:security@matrix.org).
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-c7hh-3v6c-fj4q[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-38700[ADVISORY]
- https://github.com/matrix-org/matrix-appservice-irc/commit/8bbd2b69a16cbcbeffdd9b5c973fd89d61498d75[WEB]
- https://github.com/matrix-org/matrix-appservice-irc[PACKAGE]
- https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1[WEB]