Milerius / tender_samet

MIT License
1 stars 4 forks source link

CVE-2018-19351 Medium Severity Vulnerability detected by WhiteSource #17

Open mend-bolt-for-github[bot] opened 5 years ago

mend-bolt-for-github[bot] commented 5 years ago

CVE-2018-19351 - Medium Severity Vulnerability

Vulnerable Library - notebook-5.0.0-py2.py3-none-any.whl

A web-based notebook environment for interactive computing

path: /tender_samet/requirements.txt

Library home page: https://pypi.python.org/packages/20/13/746be25c0cd02edd65491909cd3bb7c81d5f4ae31107798397962085ec34/notebook-5.0.0-py2.py3-none-any.whl

Dependency Hierarchy: - :x: **notebook-5.0.0-py2.py3-none-any.whl** (Vulnerable Library)

Vulnerability Details

Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as the notebook server. In other words, nbconvert endpoints can execute JavaScript with access to the server API. In notebook/nbconvert/handlers.py, NbconvertFileHandler and NbconvertPostHandler do not set a Content Security Policy to prevent this.

Publish Date: 2018-11-18

URL: CVE-2018-19351

CVSS 3 Score Details (6.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Change files

Origin: https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491

Release Date: 2018-10-22

Fix Resolution: Replace or update the following file: handlers.py


Step up your Open Source Security Game with WhiteSource here