Release ·

ScalPanel 0.1.36

Security: every website now runs in its own user namespace.

What changed

  1. IsolationA website's processes now run as a host user of their own (1000000000 plus the website's user ID) inside their own user namespace, with no rights on the server. Before, they ran as the website's user ID directly on the host. A program that breaks out of its container now lands on a user that owns nothing outside its website. Files keep their owners on disk, so nothing is moved or changed.
  2. UpdatingEach website restarts once, for a few seconds, the first time the server applies it after the update.
  3. RequirementsThis needs idmapped mounts (Linux 5.12 or newer with ext4 or xfs, as on every supported distribution). Where the kernel or the filesystem lacks them, websites keep running as before and the node's log says so. Set SCALPANEL_USERNS=off on the node to keep the previous behavior.
  4. Security updates of the node agent's librariesRustls-webpki (certificate checks), tokio and rustix.