PT-2024-40070 · Budibase+2 · Budibase+2

Published

2024-03-01

·

Updated

2024-03-01

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Budibase versions prior to 2.20.0
Description: The issue arises from a vulnerability in the vm2 library used for code execution inside the Budibase builder and apps. This vulnerability allows users to escape the sandbox provided by vm2 and expose server-side variables such as process.env. The authors of vm2 recommend moving to another solution for remote JS execution due to this vulnerability.
Recommendations: For Budibase versions prior to 2.20.0, update to version 2.20.0 or later, which migrates the JS sandbox infrastructure to isolated-vm, a more secure library for remote code execution. This update also provides a performance benefit in caching and executing JS server-side. Self-hosted users must manage these updates themselves, while the Budibase cloud platform has already been patched.

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

GHSA-4G2X-VQ5P-5VJ6

Affected Products

Budibase
Isolated-Vm
Vm2