CVE-2022-29238: Token bruteforcing.

CVE-2022-29238 · Severity: low · CVSS 3.1 · Published 2022-06-14

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.

Technologies: notebook (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2022-29238 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-29238 being exploited in the wild.
How severe is CVE-2022-29238?
Low severity, with a CVSS score of 3.1, published 14 June 2022.
Which products and versions are affected?
notebook (PyPI) ECOSYSTEM:introduced=0,fixed=6.4.12.
Is there a fix for CVE-2022-29238?
Yes. notebook (PyPI): upgrade to 6.4.12 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-29238?
Check whether you run notebook (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • notebook (PyPI): upgrade to 6.4.12 or later
    pip install "notebook>=6.4.12"

Affected products

  • notebook (PyPI) ECOSYSTEM:introduced=0,fixed=6.4.12

Identifiers

  • CVE-2022-29238
  • GHSA-v7vq-3x77-87vg
  • PYSEC-2022-212

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.