Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. notebook
  4. ›
  5. CVE-2022-29238

CVE-2022-29238: Direct Request ('Forced Browsing')

June 14, 2022 (updated June 24, 2022)

Jupyter Notebook is 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 (i.e. hidden files were ‘hidden’ but not ‘inaccessible’). 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. But if a server’s root directory contains sensitive files whose only protection from the server is being hidden (e.g. ~/.ssh while serving $HOME), then any authenticated requests could access files if their names are guessable. Such contexts also necessarily have full access to the server and therefore execution permissions, which also generally grants access to all the same files. So this does not generally result in any privilege escalation or increase in information access, only an additional, unintended means by which the files could be accessed. Version 6.4.12 contains a patch for this issue. There are currently no known workarounds.

References

  • github.com/advisories/GHSA-v7vq-3x77-87vg
  • github.com/jupyter/notebook/security/advisories/GHSA-v7vq-3x77-87vg
  • nvd.nist.gov/vuln/detail/CVE-2022-29238

Code Behaviors & Features

Detect and mitigate CVE-2022-29238 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.4.12

Fixed versions

  • 6.4.12

Solution

Upgrade to version 6.4.12 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-425: Direct Request ('Forced Browsing')

Source file

pypi/notebook/CVE-2022-29238.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:47 +0000.