You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Illumos, ZFS will validate that the "sharenfs" parameter is valid. It will refuse to set it to an invalid value. But FreeBSD does not validate it. This could cause mountd to crash or misbehave. I haven't checked Linux.
Note that this is not a security vulnerability, even in combination with ZFS delegations, because /etc/zfs/exports may only be updated by root, even when the sharenfs property is delegated
Describe how to reproduce the problem
Using bash:
$ sudo zpool create foo da0
$ sudo zfs set sharenfs=$'XXX\n/usr/home' foo
$ sudo cat /etc/zfs/exports
# !!! DO NOT EDIT THIS FILE MANUALLY !!!
/foo XXX
/usr/home
System information
Describe the problem you're observing
On Illumos, ZFS will validate that the "sharenfs" parameter is valid. It will refuse to set it to an invalid value. But FreeBSD does not validate it. This could cause mountd to crash or misbehave. I haven't checked Linux.
Note that this is not a security vulnerability, even in combination with ZFS delegations, because /etc/zfs/exports may only be updated by root, even when the sharenfs property is delegated
Describe how to reproduce the problem
Using bash:
Downstream bug reports
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221987
The text was updated successfully, but these errors were encountered: