CVE-2024-39691
Last modified
CVE-2024-39691 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. matrix-appservice-irc is a Node.js IRC bridge for the Matrix messaging protocol. The fix for GHSA-wm4w-7h2q-3pf7 / CVE-2024-32000 included in matrix-appservice-irc 2.0.0 relied on the Matrix homeserver-provided timestamp to determine whether a user has access to the event they're replying to when determining whether or not to include a truncated version of the original event in the IRC message. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
matrix-appservice-irc is a Node.js IRC bridge for the Matrix messaging protocol. The fix for GHSA-wm4w-7h2q-3pf7 / CVE-2024-32000 included in matrix-appservice-irc 2.0.0 relied on the Matrix homeserver-provided timestamp to determine whether a user has access to the event they're replying to when determining whether or not to include a truncated version of the original event in the IRC message. Since this value is controlled by external entities, a malicious Matrix homeserver joined to a room in which a matrix-appservice-irc bridge instance (before version 2.0.1) is present can fabricate the timestamp with the intent of tricking the bridge into leaking room messages the homeserver should not have access to. matrix-appservice-irc 2.0.1 drops the reliance on `origin_server_ts` when determining whether or not an event should be visible to a user, instead tracking the event timestamps internally. As a workaround, it's possible to limit the amount of information leaked by setting a reply template that doesn't contain the original message.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-39691?
How severe is CVE-2024-39691?
How do I fix CVE-2024-39691?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-39686Bert-VITS2 is the VITS2 Backbone with multilingual bert. Use…9.8
- CVE-2024-39687Fedify is a TypeScript library for building federated server…7.2
- CVE-2024-39688Bert-VITS2 is the VITS2 Backbone with multilingual bert. Use…6.5
- CVE-2024-39689Certifi is a curated collection of Root Certificates for val…7.5
- CVE-2024-3969XML External Entity injection vulnerability found in OpenTex…9.8
- CVE-2024-39690Capsule is a multi-tenancy and policy-based framework for Ku…8.8
- CVE-2024-39693Next.js is a React framework. A Denial of Service (DoS) cond…7.5
- CVE-2024-39694Duende IdentityServer is an OpenID Connect and OAuth 2.x fra…4.7
- CVE-2024-39695Exiv2 is a command-line utility and C++ library for reading,…6.5
- CVE-2024-39696Evmos is a decentralized Ethereum Virtual Machine chain on t…8.1
- CVE-2024-39697phonenumber is a library for parsing, formatting and validat…8.6
- CVE-2024-39698electron-updater allows for automatic updates for Electron a…7.5
Are you affected by CVE-2024-39691?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
