CWE
425
Advisory Published
Updated

CVE-2022-29238: Forced Browsing in Jupyter Notebook

First published: Tue Jun 14 2022(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Jupyter Notebook<6.4.12

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2022-29238.

  • What is Jupyter Notebook?

    Jupyter Notebook is a web-based notebook environment for interactive computing.

  • What versions of Jupyter Notebook are affected?

    Jupyter Notebook versions up to and excluding 6.4.12 are affected.

  • What does the vulnerability in Jupyter Notebook allow?

    The vulnerability allows authenticated users to access individual hidden files or files in hidden directories.

  • How severe is the vulnerability?

    The severity of the vulnerability is medium with a CVSS score of 4.3.

  • How can I fix the vulnerability in Jupyter Notebook?

    To fix the vulnerability, upgrade to Jupyter Notebook version 6.4.12 or later.

  • Where can I find more information about the vulnerability?

    You can find more information about the vulnerability in Jupyter Notebook at the following link: [Jupyter Notebook Security Advisory](https://github.com/jupyter/notebook/security/advisories/GHSA-v7vq-3x77-87vg).

  • What is the Common Weakness Enumeration (CWE) ID for this vulnerability?

    The Common Weakness Enumeration (CWE) ID for this vulnerability is CWE-425.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203