Insertion of Sensitive Information into Log File in Jupyter notebook
High7.5CVE-2022-24757 · Published Mar 25, 2022 · updated Nov 8, 2023
### Impact _What kind of vulnerability is it?_ 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. ### Patches _Has the problem been patched? What versions should users upgrade to?_ Upgrade to Jupyter Server version 1.15.4 ### For more information If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list [security@ipython.org](mailto:security@ipython.org). Credit: @3coins for reporting. Thank you!
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| jupyter-server PyPI | < 1.15.4 | 1.15.4 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-532
- Also known as
- CVE-2022-24757, PYSEC-2022-179
- github.com/jupyter-server/jupyter_server/security/advisories/GHSA-p737-p57g-4cpr
- nvd.nist.gov/vuln/detail/CVE-2022-24757
- github.com/jupyter-server/jupyter_server/commit/a5683aca0b0e412672ac6218d09f74d44ca0de5a
- github.com/jupyter-server/jupyter_server
- github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2022-179.yaml
More Jupyter advisories
All Jupyter| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 162022 | Token bruteforcing | Medium4.3 | 6.4.12 |
| May 242022 | Cross-Site Request Forgery in JupyterHub | Medium4.5 | 1.2.0b1 |
| May 172022 | Improper Input Validation in Jupyter Notebook | Critical9.8 | 4.0.5+1 more |
| May 142022 | Improper Neutralization of Input During Web Page Generation in Jupyter Notebook | Medium6.1 | 4.0.5+1 more |
| May 142022 | Improper Neutralization of Input During Web Page Generation in Jupyter Notebook | Medium5.4 | 5.7.6 |
| Apr 52022 | Sensitive Auth & Cookie data stored in Jupyter server logs | High7.5 | 6.4.10 |