Vulnerability · Published Mar 31, 2022 · Assigned by GitHub_M
CVE-2022-24758Insertion of Sensitive Information into Log File affects Jupyter Notebook
High 7.5
In plain English
A high-severity sensitive data in logs in notebook from jupyter. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | jupyter-notebook | 6.4.10-r0 | ALPINE-CVE-2022-24758 |
| Alpine:v3.21 | jupyter-notebook | 6.4.10-r0 | ALPINE-CVE-2022-24758 |
| Alpine:v3.22 | jupyter-notebook | 6.4.10-r0 | ALPINE-CVE-2022-24758 |
| Alpine:v3.23 | jupyter-notebook | 6.4.10-r0 | ALPINE-CVE-2022-24758 |
| Alpine:v3.24 | jupyter-notebook | 6.4.10-r0 | ALPINE-CVE-2022-24758 |
| Debian:12 | jupyter-notebook | 6.4.12-1 | DEBIAN-CVE-2022-24758 |
| Debian:13 | jupyter-notebook | 6.4.12-1 | DEBIAN-CVE-2022-24758 |
| Debian:14 | jupyter-notebook | 6.4.12-1 | DEBIAN-CVE-2022-24758 |
| PyPI | notebook | 6.4.10 | PYSEC-2022-180 |
| PyPI | notebook | 6.4.10 | GHSA-m87f-39q9-6f55 |
| Ubuntu:22.04:LTS | jupyter-notebook | 6.4.8-1ubuntu0.1 | UBUNTU-CVE-2022-24758 |
| Ubuntu:22.04:LTS | jupyter-notebook | 6.4.8-1ubuntu0.1 | USN-5585-1 |
Affected products (as reported)
Weakness: CWE-532 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/jupyter/notebook/security/advisories/GHSA-m87f-39q9-6f55 x_refsource_CONFIRM