CVE-2022-24758
Insertion of Sensitive Information into Log File affects Jupyter Notebook
Reported by github_m · Published March 31, 2022
notebook is fixed in 6.4.10 (PyPI)
The Jupyter notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.9, unauthorized actors can access sensitive information from server logs. Anytime a 5xx error is triggered, the auth cookie and other header values are recorded in Jupyter server logs by default. Considering these logs do not require root access, an attacker can monitor these logs, steal sensitive auth/cookie information, and gain access to the Jupyter server. Jupyter notebook version 6.4.x 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.10 |
| jupyter-base-notebook | Bitnami | 6.4.10 |
| jupyter-notebook | Alpine | 6.4.10-r0 |
| jupyter-notebook | Bitnami | 6.4.10 |
| notebook | jupyter | 6.4.10 |
| jupyter-base-notebook | Bitnami | 6.4.10 |
| jupyter-notebook | Bitnami | 6.4.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jupyter | notebook | < 6.4.10 |
| PyPI | notebook | 0 |
| alpine | jupyter-notebook | 0 |
| jupyter | notebook | 0 |
Timeline
- Mar 31, 2022 CVE Published
- Apr 1, 2022 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory
- Jul 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-24758
vulnetix vdb fixes CVE-2022-24758
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-24758/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart