CVE-2023-38690

matrix-appservice-irc is a Node.js IRC bridge for Matrix. Prior to version 1.0.1, it is possible to craft a command with newlines which would not be properly parsed. This would mean you could pass a string of commands as a channel name, which would then be run by the IRC bridge bot. Versions 1.0.1 and above are patched. There are no robust workarounds to the bug. One may disable dynamic channels in the config to disable the most common execution method but others may exist.
Configurations

Configuration 1 (hide)

cpe:2.3:a:matrix:matrix_irc_bridge:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 08:14

Type Values Removed Values Added
Summary
  • (es) matrix-appservice-irc es un puente IRC Node.js para Matrix. Antes de la versión 1.0.1, era posible crear un comando con nuevas líneas que no se analizaba correctamente. Esto significaba que podías pasar una cadena de comandos como nombre de canal, que luego sería ejecutado por el bot del puente IRC. Las versiones 1.0.1 y superiores están parcheadas. No hay soluciones robustas para el fallo. Uno puede desactivar los canales dinámicos en la configuración para desactivar el método de ejecución más común, pero pueden existir otros.
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 5.8
References () https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3 - Patch () https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3 - Patch
References () https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1 - Release Notes () https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1 - Release Notes
References () https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3 - Third Party Advisory () https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3 - Third Party Advisory

11 Aug 2023, 18:58

Type Values Removed Values Added
CPE cpe:2.3:a:matrix:matrix_irc_bridge:*:*:*:*:*:node.js:*:*
First Time Matrix
Matrix matrix Irc Bridge
References (MISC) https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3 - (MISC) https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3 - Third Party Advisory
References (MISC) https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1 - (MISC) https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1 - Release Notes
References (MISC) https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3 - (MISC) https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

04 Aug 2023, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-08-04 17:15

Updated : 2024-11-21 08:14


NVD link : CVE-2023-38690

Mitre link : CVE-2023-38690

CVE.ORG link : CVE-2023-38690


JSON object : View

Products Affected

matrix

  • matrix_irc_bridge
CWE
CWE-20

Improper Input Validation

CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')