CVE-2019-9644 Improper Neutralization of Input During Web Page Generation in Jupyter Notebook

Medium 5.4 Published Updated

An XSSI vulnerability in Jupyter Notebook allows attackers to read resource content via malicious pages when authenticated users visit them.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-9644?

CVE-2019-9644 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Mar 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An XSSI (cross-site inclusion) vulnerability in Jupyter Notebook before 5.7.6 allows inclusion of resources on malicious pages when visited by users who are authenticated with a Jupyter server. Access to the content of resources has been demonstrated with Internet Explorer through capturing of error messages, though not reproduced with other browsers. This occurs because Internet Explorer's error messages can include the content of any invalid JavaScript that was encountered.

Weakness: CWE-79

Which versions are affected by CVE-2019-9644?

6 open source packages ship an affected version, including jupyter-notebook and notebook. It affects 1 product.

PackageAffectedFixed in
jupyter-notebook PyPIAll versions5.7.6
jupyter-notebook PyPIAll versions5.7.6
jupyter-notebook PyPIAll versions5.7.6
notebook PyPIAll versions5.7.6
notebook PyPIAll versions5.7.6
notebook PyPIAll versions5.7.6

Products include Jupyter Notebook.

How do I fix CVE-2019-9644?

Upgrade jupyter-notebook to 5.7.6 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2019-9644 being exploited?

There is no known exploitation of CVE-2019-9644 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-9644, GHSA-hhx8-cr55-qcxx, PYSEC-2019-159, PYSEC-2026-2531, UBUNTU-CVE-2019-9644.

Is CVE-2019-9644 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free