(408) 943-4100               V   Commercial Support

Versions Affected : All versions prior to TrueNAS 12.0-U3


Description

Due to a race condition between lookup of “..” and remounting a filesystem, a process running inside a jail might access filesystem hierarchy outside of jail.

A process with superuser privileges running inside a jail configured with the allow.mount permission (not enabled by default) could change the root directory outside of the jail, and thus gain full read and write access to all files and directories in the system.


Workaround

As a workaround, disable allow.mount permission for all jails with untrusted root users; see jail(1) and jail.conf(5) manual pages for details.


Mitigation

  • Upgrade to TrueNAS 12.0-U3 or later.

Commit


Further information