CVEfocus › CVE database › CVE-2024-22421

CVE-2024-22421Potential authentication and CSRF tokens leak in JupyterLab

CVSS 7.6 HighEPSS 0.9% (higher than 58% of CVEs)Published 2024-01-19Updated 2025-06-17Assigner: GitHub_M

JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook and Architecture. Users of JupyterLab who click on a malicious link may get their `Authorization` and `XSRFToken` tokens exposed to a third party when running an older `jupyter-server` version. JupyterLab versions 4.1.0b2, 4.0.11, and 3.6.7 are patched. No workaround has been identified, however users should ensure to upgrade `jupyter-server` to version 2.7.2 or newer which includes a redirect vulnerability fix.

CWE-200CWE-23

What to do

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

Ubuntu has not shipped a fix for every release yet.

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

4Fixed
1Fix pending
1Not affected

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 20.04jupyter-notebookNot affected
vulnerable_code_not_present
Ubuntu 18.04jupyter-notebookFix pending
Debian 14jupyterlabFixed4.0.11+ds1-1DEBIAN-CVE-2024-22421
Debian 13jupyterlabFixed4.0.11+ds1-1DEBIAN-CVE-2024-22421
PyPI libraryjupyterlabFixed3.6.7GHSA-44cc-43rp-5947
PyPI librarynotebookFixed7.0.7GHSA-44cc-43rp-5947

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.