Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
- Snyk ID SNYK-PYTHON-NOTEBOOK-2928995
- published 17 Jun 2022
- disclosed 16 Jun 2022
- credit rashley-iqt
How to fix?
notebook to version 6.4.12 or higher.
notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations, and explanatory text.
Affected versions of this package are vulnerable to Access Restriction Bypass. When a fully authenticated request is sent to the notebook server which is configured with
ContentsManager.allow_hidden = False, it is possible to access arbitrary hidden files or arbitrary files in hidden directories.
Do not run the notebook server in a directory with hidden files, use subdirectories.
Use a custom
ContentsManagerwith additional checks for
self.is_hidden(path)prior to completing actions.