CVE-2022-29238
Forced Browsing in Jupyter Notebook
Reported by github_m · Published June 14, 2022
notebook is fixed in 6.4.12 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| notebook | PyPI | 6.4.12 |
| jupyter-notebook | Bitnami | 6.4.12 |
| jupyter-base-notebook | Bitnami | 6.4.12 |
| notebook | jupyter | 6.4.12 |
| jupyter-base-notebook | Bitnami | 6.4.12 |
| jupyter-notebook | Bitnami | 6.4.12 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jupyter | notebook | < 6.4.12 |
| PyPI | notebook | 0 |
| jupyter | notebook | 0 |
| alpine | jupyter-notebook | 0 |
Timeline
- Jun 14, 2022 CVE Published
- Jun 15, 2022 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 9, 2026 Security Advisory
- Jun 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-29238
vulnetix vdb fixes CVE-2022-29238
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-29238/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2022-29238 advisory
- https://github.com/advisories/GHSA-v7vq-3x77-87vg advisory