CVEfocus › CVE database › CVE-2022-29238

CVE-2022-29238Forced Browsing in Jupyter Notebook

CVSS 4.3 MediumEPSS 1.0% (higher than 64% of CVEs)Published 2022-06-14Updated 2025-04-23Assigner: GitHub_M

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.

CWE-425

What to do

Fixed builds are available from Alpine, Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04jupyter-notebookFixed6.4.8-1ubuntu0.1UBUNTU-CVE-2022-29238
Ubuntu 20.04jupyter-notebookFixed6.0.3-2ubuntu0.1UBUNTU-CVE-2022-29238
Ubuntu 18.04jupyter-notebookNot affected
vulnerable_code_not_present
Debian 14jupyter-notebookFixed6.4.12-1DEBIAN-CVE-2022-29238
Debian 13jupyter-notebookFixed6.4.12-1DEBIAN-CVE-2022-29238
Debian 12jupyter-notebookFixed6.4.12-1DEBIAN-CVE-2022-29238
Alpine Linux 3.24jupyter-notebookFixed6.4.12-r0ALPINE-CVE-2022-29238
Alpine Linux 3.23jupyter-notebookFixed6.4.12-r0ALPINE-CVE-2022-29238
Alpine Linux 3.22jupyter-notebookFixed6.4.12-r0ALPINE-CVE-2022-29238
Alpine Linux 3.21jupyter-notebookFixed6.4.12-r0ALPINE-CVE-2022-29238
Alpine Linux 3.20jupyter-notebookFixed6.4.12-r0ALPINE-CVE-2022-29238
Alpine Linux 3.19jupyter-notebookFixed6.4.12-r0ALPINE-CVE-2022-29238
Alpine Linux 3.18jupyter-notebookFixed6.4.12-r0ALPINE-CVE-2022-29238
Alpine Linux 3.17jupyter-notebookFixed6.4.12-r0ALPINE-CVE-2022-29238
PyPI librarynotebookFixed6.4.12PYSEC-2022-212

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.