Unknown · Jupyter Notebook · CVE-2022-29238
**Name of the Vulnerable Software and Affected Versions**
Jupyter Notebook versions prior to 6.4.12
**Description**
The issue concerns Jupyter Notebook, a web-based notebook environment for interactive computing. Prior to version 6.4.12, authenticated requests to the notebook server with `ContentsManager.allow hidden = False` only prevented listing the contents of hidden directories, not accessing individual hidden files or files in hidden directories. This could lead to notebook configurations allowing authenticated access to files that may reasonably be expected to be disallowed. Because fully authenticated requests are required, this is of relatively low impact. However, if a server's root directory contains sensitive files whose only protection from the server is being hidden, then any authenticated requests could access files if their names are guessable.
**Recommendations**
To resolve the issue, update to version 6.4.12 or later.
As a temporary workaround, consider not running the notebook server in a directory with hidden files, and instead use subdirectories.
Alternatively, use a custom ContentsManager with additional checks for `self.is hidden(path)` prior to completing actions.