CVEfocus › CVE database › CVE-2022-24758

CVE-2022-24758Insertion of Sensitive Information into Log File affects Jupyter Notebook

CVSS 7.5 HighEPSS 1.1% (higher than 65% of CVEs)Published 2022-03-31Updated 2025-04-23Assigner: GitHub_M

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.

CWE-532

What to do

Fixed builds are available from Alpine, Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04jupyter-notebookFixed6.4.8-1ubuntu0.1UBUNTU-CVE-2022-24758
Ubuntu 20.04jupyter-notebookFixed6.0.3-2ubuntu0.1UBUNTU-CVE-2022-24758
Ubuntu 18.04jupyter-notebookFixed5.2.2-1ubuntu0.1UBUNTU-CVE-2022-24758
Debian 14jupyter-notebookFixed6.4.12-1DEBIAN-CVE-2022-24758
Debian 13jupyter-notebookFixed6.4.12-1DEBIAN-CVE-2022-24758
Debian 12jupyter-notebookFixed6.4.12-1DEBIAN-CVE-2022-24758
Alpine Linux 3.24jupyter-notebookFixed6.4.10-r0ALPINE-CVE-2022-24758
Alpine Linux 3.23jupyter-notebookFixed6.4.10-r0ALPINE-CVE-2022-24758
Alpine Linux 3.22jupyter-notebookFixed6.4.10-r0ALPINE-CVE-2022-24758
Alpine Linux 3.21jupyter-notebookFixed6.4.10-r0ALPINE-CVE-2022-24758
Alpine Linux 3.20jupyter-notebookFixed6.4.10-r0ALPINE-CVE-2022-24758
Alpine Linux 3.19jupyter-notebookFixed6.4.10-r0ALPINE-CVE-2022-24758
Alpine Linux 3.18jupyter-notebookFixed6.4.10-r0ALPINE-CVE-2022-24758
Alpine Linux 3.17jupyter-notebookFixed6.4.10-r0ALPINE-CVE-2022-24758
Alpine Linux 3.16jupyter-notebookFixed6.4.10-r0ALPINE-CVE-2022-24758
PyPI librarynotebookFixed6.4.10GHSA-m87f-39q9-6f55

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.