CVE-2023-43656

Medium

Description

matrix-hookshot is a Matrix bot for connecting to external services like GitHub, GitLab, JIRA, and more. Instances that have enabled transformation functions (those that have `generic.allowJsTransformationFunctions` in their config), may be vulnerable to an attack where it is possible to break out of the `vm2` sandbox and as a result Hookshot will be vulnerable to this. This problem is only likely to affect users who have allowed untrusted users to apply their own transformation functions. If you have only enabled a limited set of trusted users, this threat is reduced (though not eliminated). Version 4.5.0 and above of hookshot include a new sandbox library which should better protect users. Users are advised to upgrade. Users unable to upgrade should disable `generic.allowJsTransformationFunctions` in the config.

SeverityMedium
CVSS5.6
Exploit probability—
ProductMatrix Hookshot
PublishedSep 27, 2023
First seenSep 27, 2023
Weakness typeCWE-74Injection

How to fix

Update
  • matrix hookshot4.5.0 or later

Affected products

ProductAffected versionsFixed in
matrix hookshotv < 4.5.04.5.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2023-43656 · Matrix Hookshot · Dark Radar