Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2020 20:14:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 248335] O_BENEATH leaks information about parent directories
Message-ID:  <bug-248335-227-OE9ozCg6Qw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-248335-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-248335-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248335

--- Comment #2 from Dan Gohman <sunfish@mozilla.com> ---
As an example, paths may contain usernames. Usernames may not be sensitive =
in a
username/password sense, but they are in a personally-identifying-informati=
on
sense.

In my application, we have untrusted WebAssembly bytecode running inside an
interpreter. The bytecode may make calls to an API called WASI, which inclu=
des
POSIX-like filesystem access. We have an implementation of WASI which
implements sandboxing that works on FreeBSD, however it's slow (about one
syscall per path component). A feature like `O_BENEATH` but which instead
blocks access to paths outside the topping directory could run much faster.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248335-227-OE9ozCg6Qw>