CWE
74
Advisory Published
Updated

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

First published: Wed Sep 27 2023(Updated: )

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.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Matrix Hookshot<4.5.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-43656?

    CVE-2023-43656 is a vulnerability in matrix-hookshot, a Matrix bot used for connecting to external services like GitHub, GitLab, JIRA, and more.

  • What is the severity of CVE-2023-43656?

    CVE-2023-43656 has a severity level of critical with a severity value of 9.

  • How does CVE-2023-43656 affect the affected software?

    CVE-2023-43656 affects instances of matrix-hookshot with a version up to exclusive 4.5.0.

  • What is the CWE of CVE-2023-43656?

    CVE-2023-43656 is associated with CWE-74, which is an improper neutralization of special elements in output used by a downstream component vulnerability.

  • How can I fix CVE-2023-43656?

    To fix CVE-2023-43656, it is recommended to update matrix-hookshot to a version beyond 4.5.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203