-
Notifications
You must be signed in to change notification settings - Fork 261
[LibOS/PAL] Sanitize /sysfs pseudo filesystem #2105
Comments
(the below text is moved from #2556 to avoid duplication.) Description of the problem@vijaydhanraj recently expanded support for
The general approach is to copy all relevant information from host-level
The PAL contains a global variable that holds all this procfs and sysfs information (see file https://github.com/oscarlab/graphene/blob/master/Pal/src/db_main.c):
PAL initializates all these Note that each new Graphene process (e.g., a child spawned by the parent) initializes all these fields anew. In other words, each Graphene enclave populates its Crux of the ProblemsThere are three problems with this approach:
Solutions
What security issues does it solve?Below are the security issues with the current approach.
|
We hope to finish this effort before the release. |
Description of the problem
We pass a lot of information from host-level /sys/ files. We sanitize some values in some files, but not everything. Need to audit and add missing sanitizations, if any.
Reference: #1975
The text was updated successfully, but these errors were encountered: