9

CVE-2023-43656: Sandbox escape for instances that have enabled transformation functions in matrix-hookshot

Modified
Published 27-09-2023Last modified 20-09-2024

Vulnerability summary

CVE-2023-43656 is a critical (CVSS 9.0) vulnerability in matrix-org matrix-hookshot. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.0/10
010
Critical · v3.1 (NVD)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 27-09-2023
    PublishedVulnerability first disclosed.
  2. 20-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

27%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.32% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Matrix1 product
Matrix-org1 product

2 vendors · 2 products

References

2 links