CVE-2015-7337: Improper Input Validation in Jupyter Notebook

CVE-2015-7337 · Severity: low · CVSS 3.1 · Published 2015-09-29

The editor in IPython Notebook before 3.2.2 and Jupyter Notebook 4.0.x before 4.0.5 allows remote attackers to execute arbitrary JavaScript code via a crafted file, which triggers a redirect to files/, related to MIME types.

Technologies: ipython (PyPI), notebook (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2015-7337 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2015-7337 being exploited in the wild.
How severe is CVE-2015-7337?
Low severity, with a CVSS score of 3.1, published 29 September 2015.
Which products and versions are affected?
ipython (PyPI) ECOSYSTEM:introduced=0,fixed=3.2.2, GIT:introduced=0,fixed=0a8096adf165e2465550bd5893d7e352544e5967|ECOSYSTEM:introduced=0,fixed=3.2.2; notebook (PyPI) GIT:introduced=0,fixed=9e63dd89b603dfbe3a7e774d8a962ee0fa30c0b5|ECOSYSTEM:introduced=4.0.0,fixed=4.0.5.
Is there a fix for CVE-2015-7337?
Yes. ipython (PyPI): upgrade to 3.2.2 or later; notebook (PyPI): upgrade to 4.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2015-7337?
Check whether you run ipython (PyPI) or notebook (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ipython (PyPI): upgrade to 3.2.2 or later
    pip install "ipython>=3.2.2"
  • notebook (PyPI): upgrade to 4.0.5 or later
    pip install "notebook>=4.0.5"

Affected products

  • ipython (PyPI) ECOSYSTEM:introduced=0,fixed=3.2.2, GIT:introduced=0,fixed=0a8096adf165e2465550bd5893d7e352544e5967|ECOSYSTEM:introduced=0,fixed=3.2.2
  • notebook (PyPI) GIT:introduced=0,fixed=9e63dd89b603dfbe3a7e774d8a962ee0fa30c0b5|ECOSYSTEM:introduced=4.0.0,fixed=4.0.5

Identifiers

  • CVE-2015-7337
  • GHSA-92mr-v722-f48m
  • PYSEC-2015-25
  • PYSEC-2015-27

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.