CVE-2024-39691
Malicious Matrix homeserver can leak truncated message content of messages it shouldn't have access to
Что произошло
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.
Что это значит
В источнике описана ошибка безопасности в перечисленных продуктах. Фактический риск зависит от установленной версии, конфигурации и доступности компонента; проверьте условия в первичном бюллетене.
Что делать
1. Проверьте, затронуты ли вы
Соберите инвентаризацию и сравните с таблицей затронутых версий. Эти команды только показывают установленные компоненты и сами по себе не доказывают наличие CVE.
dpkg-query -W -f='${Package} ${Version}\n'rpm -qa --qf '%{NAME}\t%{VERSION}-%{RELEASE}\n'Get-HotFix | Select-Object HotFixID, InstalledOn
2. Установите исправление
Сверьте точный продукт и версию с бюллетенем вендора. Установите указанное в нём исправление после резервного копирования и проверки совместимости. Подтверждённая целевая версия в источниках отсутствует.
3. Временные меры
До проверки бюллетеня ограничьте доступ к затронутому компоненту доверенными узлами. Оцените сегментацию и отключение ненужных интерфейсов с владельцем сервиса; универсального правила WAF для этой CVE не подтверждено.
4. Проверьте следы эксплуатации
Проверьте аномальные входы, новые учётные записи, ошибки и необычные дочерние процессы в затронутом сервисе. Публичные проверенные правила обнаружения не включены в запись; отсутствие сигналов не доказывает отсутствие компрометации.
5. После исправления
- Проверьте фактическую версию и результат установки по бюллетеню.
- При необходимости перезапустите сервисы в согласованное окно.
- Повторите проверку сканером и функциональные проверки.
- Зафиксируйте результат, дату, владельца и оставшийся риск.
Продукты и затронутые версии
matrix-org / matrix-appservice-irc
{
"status": "affected",
"version": "< 2.0.1"
}matrix-appservice-irc npm
{
"status": "affected",
"version": "*",
"versionEndExcluding": "2.0.1"
}CVSS: оценки и векторы
CVSS 3.1 · cve4.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Источники и ссылки
Происхождение полей
{
"cwes": [
"cve"
],
"epss": {
"source": "epss",
"received_at": "2026-11-02T21:07:23.106890+00:00"
},
"title": {
"source": "cve",
"received_at": "2026-10-28T23:06:32.076507+00:00"
},
"scores": [
"cve"
],
"status": {
"source": "cve",
"received_at": "2026-10-28T23:06:32.076507+00:00"
},
"affected": [
"cve",
"osv"
],
"published": {
"source": "cve",
"received_at": "2026-10-28T23:06:32.076507+00:00"
},
"solutions": [],
"percentile": {
"source": "epss",
"received_at": "2026-11-02T21:07:23.106890+00:00"
},
"references": [
"cve",
"osv"
],
"description": {
"source": "cve",
"received_at": "2026-10-28T23:06:32.076507+00:00"
},
"workarounds": [],
"configurations": []
}Хронология записи
- Данные обновлены03.11.2026, 00:07
- Данные обновлены02.11.2026, 15:16
- Данные обновлены02.11.2026, 00:06
- Данные обновлены31.10.2026, 11:53
- Данные обновлены30.10.2026, 13:02
- Данные обновлены29.10.2026, 10:23
- Опубликована29.10.2026, 02:06
Личная заметка и статус
Другие CVE того же продукта
| УЯЗВИМОСТЬ / ПРОДУКТ | ПРИОРИТЕТ | CVSS | EPSS | СИГНАЛЫ | ОПУБЛИКОВАНА | Карточка |
|---|---|---|---|---|---|---|
| CVE-2023-38690 matrix-appservice-irc IRC command injection via admin commands containing newlines matrix-appservice-irc | Информационный | — | 0,86 % | 04.08.2023 | ||
| CVE-2024-32000 Truncated content of messages can be leaked from matrix-appservice-irc matrix-org / matrix-appservice-irc · matrix-appservice-irc | Средний | 4.3 | 0,45 % | 12.04.2024 | ||
| CVE-2025-27146 Matrix IRC Bridge allows IRC command injection to own puppeted user matrix-org / matrix-appservice-irc · matrix-appservice-irc | Низкий | 2.7 | 0,4 % | 25.02.2025 | ||
| CVE-2024-52505 matrix-appservice-irc allows IRC Command injection in provisioning API matrix-org / matrix-appservice-irc | Средний | 5.4 | 0,38 % | 14.11.2024 | ||
| CVE-2023-38700 matrix-appservice-irc events can be crafted to leak parts of targeted messages from other bridged rooms matrix-appservice-irc | Информационный | — | 0,6 % | 04.08.2023 |