Remote Code Execution Affecting notebook package, versions [,5.4.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-NOTEBOOK-174526
  • published25 Apr 2019
  • disclosed18 Mar 2018
  • creditJonathan Kamens

Introduced: 18 Mar 2018

CVE-2018-8768  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade notebook to version 5.4.1 or higher.

Overview

notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations, and explanatory text.

Affected versions of this package are vulnerable to Remote Code Execution. A maliciously forged notebook file can bypass sanitization to execute JavaScript in the notebook context. Specifically, invalid HTML is 'fixed' by jQuery after sanitization, making it dangerous.

CVSS Scores

version 3.1