Access Restriction Bypass Affecting notebook Open this link in a new tab package, versions [,6.4.12)
Attack Complexity
High
Confidentiality
High
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
Introduced: 16 Jun 2022
New CVE-2022-29238 Open this link in a new tabHow to fix?
Upgrade notebook
to version 6.4.12 or higher.
Overview
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.
Workarounds:
Do not run the notebook server in a directory with hidden files, use subdirectories.
Use a custom
ContentsManager
with additional checks forself.is_hidden(path)
prior to completing actions.