CVE-2023-43656

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-43656
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-43656.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-43656
Aliases
  • GHSA-fr97-pv6w-4cj6
Published
2023-09-27T20:38:57.460Z
Modified
2025-12-05T00:07:25.302115Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
Summary
Sandbox escape for instances that have enabled transformation functions in matrix-hookshot
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43656.json",
    "cwe_ids": [
        "CWE-74"
    ]
}
References

Affected packages

Git / github.com/matrix-org/matrix-hookshot

Affected ranges

Type
GIT
Repo
https://github.com/matrix-org/matrix-hookshot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0

1.*

1.0.0
1.1.0
1.2.0
1.3.0
1.4.0
1.5.0
1.6.0
1.7.0
1.7.1
1.7.2
1.7.3
1.8.0
1.8.1

2.*

2.0.0
2.0.1
2.1.0
2.1.1
2.1.2
2.2.0
2.3.0
2.4.0
2.5.0
2.6.1
2.7.0

3.*

3.0.0
3.0.1
3.1.0
3.1.1
3.2.0

4.*

4.0.0
4.1.0
4.2.0
4.3.0
4.4.0
4.4.1

helm-hookshot-0.*

helm-hookshot-0.1.13

Database specific

source

"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-43656.json"