CVE-2023-38700 matrix-appservice-irc events can be crafted to leak parts of targeted messages from other bridged rooms

Low 3.5 Published Updated

Attackers can craft events to leak parts of targeted messages from other bridged rooms in the Matrix IRC bridge.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-38700?

CVE-2023-38700 is a low-severity vulnerability in matrix-org matrix-appservice-irc, published on 4 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

matrix-appservice-irc is a Node.js IRC bridge for Matrix. Prior to version 1.0.1, 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. Version 1.0.1n fixes this issue. As a workaround, set the `matrixHandler.eventCacheSize` config value to `0`. This workaround may impact performance.

Weakness: CWE-200

Which versions are affected by CVE-2023-38700?

2 open source packages ship an affected version, including matrix-appservice-irc. It affects 1 product.

PackageAffectedFixed in
matrix-appservice-irc npmAll versions1.0.1
matrix-appservice-irc npmAll versions1.0.1

Products include Matrix Matrix Irc Bridge.

How do I fix CVE-2023-38700?

Upgrade matrix-appservice-irc to 1.0.1 or later.

Is CVE-2023-38700 being exploited?

There is no known exploitation of CVE-2023-38700 in the wild and no public exploit code.

Sources

Also known as GHSA-c7hh-3v6c-fj4q.

Is CVE-2023-38700 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free