CVE-2024-32000: Matrix IRC Bridge truncated content of messages can be leaked
The matrix-appservice-irc before version 2.0.0 can be exploited to leak the truncated body of a message if a malicious user sends a Matrix reply to an event ID they don’t have access to. As a precondition to the attack, the malicious user needs to know the event ID of the message they want to leak, as well as to be joined to both the Matrix room and the IRC channel it is bridged to.
The message reply containing the leaked message content is visible to IRC channel members when this happens.
References
- github.com/advisories/GHSA-wm4w-7h2q-3pf7
- github.com/matrix-org/matrix-appservice-irc
- github.com/matrix-org/matrix-appservice-irc/commit/4af7d3009f10b1f2fb810784c1e491d9d3bee82b
- github.com/matrix-org/matrix-appservice-irc/pull/1799
- github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-wm4w-7h2q-3pf7
- nvd.nist.gov/vuln/detail/CVE-2024-32000
Detect and mitigate CVE-2024-32000 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →