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

VectorAV: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

Weakness Enumeration

Related Identifiers

ALT-PU-2022-2266
BIT-JUPYTER-BASE-NOTEBOOK-2022-29238
BIT-JUPYTER-NOTEBOOK-2022-29238
CVE-2022-29238
GHSA-V7VQ-3X77-87VG
MGASA-2022-0323
OPENSUSE-SU-2024:12148-1
PYSEC-2022-212
USN-5585-1

Affected Products

Alt Linux
Debian
Jupyter Notebook
Linuxmint
Ubuntu