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.
Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Notebook | Jupyter | * | 6.4.10 (excluding) |
Jupyter-notebook | Ubuntu | bionic | * |
Jupyter-notebook | Ubuntu | focal | * |
Jupyter-notebook | Ubuntu | impish | * |
Jupyter-notebook | Ubuntu | jammy | * |
Jupyter-notebook | Ubuntu | kinetic | * |
Jupyter-notebook | Ubuntu | lunar | * |
Jupyter-notebook | Ubuntu | trusty | * |
Jupyter-notebook | Ubuntu | upstream | * |
Jupyter-notebook | Ubuntu | xenial | * |
While logging all information may be helpful during development stages, it is important that logging levels be set appropriately before a product ships so that sensitive user data and system information are not accidentally exposed to potential attackers. Different log files may be produced and stored for: