Skip to content
OpenAdvisories
High · 7.5 CVE-2022-24758 BIT-jupyter-base-notebook-2022-24758BIT-jupyter-notebook-2022-24758EUVD-2022-0163GHSA-m87f-39q9-6f55PYSEC-2022-180

Insertion of Sensitive Information into Log File affects Jupyter Notebook

Published Mar 31, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
jupyter notebook < 6.4.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jupyter-notebook 6.4.12-1 —
Debian 13 jupyter-notebook 6.4.12-1 —
Debian 12 jupyter-notebook 6.4.12-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS jupyter-notebook 6.4.8-1ubuntu0.1 USN-5585-1
Ubuntu 20.04 LTS jupyter-notebook 6.0.3-2ubuntu0.1 USN-5585-1
Ubuntu 18.04 LTS jupyter-notebook 5.2.2-1ubuntu0.1 USN-5585-1
ReleasePackageFixed inAdvisory
Alpine v3.24 jupyter-notebook 6.4.10-r0 —
Alpine v3.23 jupyter-notebook 6.4.10-r0 —
Alpine v3.22 jupyter-notebook 6.4.10-r0 —
Alpine v3.21 jupyter-notebook 6.4.10-r0 —
Alpine v3.20 jupyter-notebook 6.4.10-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 jupyter-notebook 6.4.10-r0 —
Alpine v3.18 jupyter-notebook 6.4.10-r0 —
Alpine v3.17 jupyter-notebook 6.4.10-r0 —
Alpine v3.16 jupyter-notebook 6.4.10-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI notebook < 6.4.10 6.4.10 GHSA-m87f-39q9-6f55

Advisories 1

References