PT-2022-19488 · Unknown+4 · Jupyter Notebook+4
Rashley-Iqt
·
Published
2022-06-14
·
Updated
2024-03-06
·
CVE-2022-29238
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
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.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Jupyter Notebook
Linuxmint
Ubuntu