GHSA-c7hh-3v6c-fj4q
matrix-appservice-irc events can be crafted to leak parts of targeted messages from other bridged rooms
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | matrix-appservice-irc | < 1.0.1 | 1.0.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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 [[email protected]](mailto:[email protected]).
References
External links from the advisory. They lead to third-party sites.
- https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-c7hh-3v6c-fj4q
- https://nvd.nist.gov/vuln/detail/CVE-2023-38700
- https://github.com/matrix-org/matrix-appservice-irc/commit/8bbd2b69a16cbcbeffdd9b5c973fd89d61498d75
- https://github.com/matrix-org/matrix-appservice-irc
- https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1