RonenDabach / python-tda-bug-hunt-2

0 stars 0 forks source link

notebook-4.4.0.tgz: 9 vulnerabilities (highest severity is: 9.6) #2

Open dev-mend-for-github-com[bot] opened 1 year ago

dev-mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (notebook version) Remediation Available
CVE-2021-32798 High 9.6 notebook-4.4.0.tgz Direct 5.7.7
CVE-2022-24758 High 7.5 notebook-4.4.0.tgz Direct 5.7.14
CVE-2018-19352 Medium 6.1 notebook-4.4.0.tgz Direct 5.7.2
CVE-2018-19351 Medium 6.1 notebook-4.4.0.tgz Direct 5.7.1
CVE-2019-10255 Medium 6.1 notebook-4.4.0.tgz Direct 5.7.7
CVE-2020-26215 Medium 6.1 notebook-4.4.0.tgz Direct 5.7.11
CVE-2019-10856 Medium 6.1 notebook-4.4.0.tgz Direct 5.7.8
CVE-2019-9644 Medium 5.4 notebook-4.4.0.tgz Direct 5.7.6
CVE-2022-29238 Medium 4.3 notebook-4.4.0.tgz Direct 5.7.14

Details

CVE-2021-32798 ### Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **notebook-4.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Found in base branch: main

### Vulnerability Details

The Jupyter notebook is a web-based notebook environment for interactive computing. In affected versions untrusted notebook can execute code on load. Jupyter Notebook uses a deprecated version of Google Caja to sanitize user inputs. A public Caja bypass can be used to trigger an XSS when a victim opens a malicious ipynb document in Jupyter Notebook. The XSS allows an attacker to execute arbitrary code on the victim computer using Jupyter APIs.

Publish Date: 2021-08-09

URL: CVE-2021-32798

### CVSS 3 Score Details (9.6)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/jupyter/notebook/security/advisories/GHSA-hwvq-6gjx-j797

Release Date: 2021-08-09

Fix Resolution: 5.7.7

:rescue_worker_helmet: Automatic Remediation is available for this issue
CVE-2022-24758 ### Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **notebook-4.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Found in base branch: main

### Vulnerability Details

The Jupyter notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.9, unauthorized actors can access sensitive information from server logs. Anytime a 5xx error is triggered, the auth cookie and other header values are recorded in Jupyter server logs by default. Considering these logs do not require root access, an attacker can monitor these logs, steal sensitive auth/cookie information, and gain access to the Jupyter server. Jupyter notebook version 6.4.x contains a patch for this issue. There are currently no known workarounds.

Publish Date: 2022-03-31

URL: CVE-2022-24758

### CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/jupyter/notebook/security/advisories/GHSA-m87f-39q9-6f55

Release Date: 2022-03-31

Fix Resolution: 5.7.14

:rescue_worker_helmet: Automatic Remediation is available for this issue
CVE-2018-19352 ### Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **notebook-4.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Found in base branch: main

### Vulnerability Details

Jupyter Notebook before 5.7.2 allows XSS via a crafted directory name because notebook/static/tree/js/notebooklist.js handles certain URLs unsafely.

Publish Date: 2018-11-18

URL: CVE-2018-19352

### 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: Upgrade version

Release Date: 2018-11-18

Fix Resolution: 5.7.2

:rescue_worker_helmet: Automatic Remediation is available for this issue
CVE-2018-19351 ### Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **notebook-4.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Found in base branch: main

### 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: Upgrade version

Release Date: 2018-11-18

Fix Resolution: 5.7.1

:rescue_worker_helmet: Automatic Remediation is available for this issue
CVE-2019-10255 ### Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **notebook-4.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Found in base branch: main

### Vulnerability Details

An Open Redirect vulnerability for all browsers in Jupyter Notebook before 5.7.7 and some browsers (Chrome, Firefox) in JupyterHub before 0.9.5 allows crafted links to the login page, which will redirect to a malicious site after successful login. Servers running on a base_url prefix are not affected.

Publish Date: 2019-03-28

URL: CVE-2019-10255

### 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: Upgrade version

Release Date: 2019-03-28

Fix Resolution: 5.7.7

:rescue_worker_helmet: Automatic Remediation is available for this issue
CVE-2020-26215 ### Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **notebook-4.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Found in base branch: main

### Vulnerability Details

Jupyter Notebook before version 6.1.5 has an Open redirect vulnerability. A maliciously crafted link to a notebook server could redirect the browser to a different website. All notebook servers are technically affected, however, these maliciously crafted links can only be reasonably made for known notebook server hosts. A link to your notebook server may appear safe, but ultimately redirect to a spoofed server on the public internet. The issue is patched in version 6.1.5.

Publish Date: 2020-11-18

URL: CVE-2020-26215

### 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: Upgrade version

Origin: https://github.com/jupyter/notebook/security/advisories/GHSA-c7vm-f5p4-8fqh

Release Date: 2020-11-18

Fix Resolution: 5.7.11

:rescue_worker_helmet: Automatic Remediation is available for this issue
CVE-2019-10856 ### Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **notebook-4.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Found in base branch: main

### Vulnerability Details

In Jupyter Notebook before 5.7.8, an open redirect can occur via an empty netloc. This issue exists because of an incomplete fix for CVE-2019-10255.

Publish Date: 2019-04-04

URL: CVE-2019-10856

### 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: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10856

Release Date: 2019-04-04

Fix Resolution: 5.7.8

:rescue_worker_helmet: Automatic Remediation is available for this issue
CVE-2019-9644 ### Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **notebook-4.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Found in base branch: main

### Vulnerability Details

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.

Publish Date: 2019-03-12

URL: CVE-2019-9644

### CVSS 3 Score Details (5.4)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-hhx8-cr55-qcxx

Release Date: 2019-03-12

Fix Resolution: 5.7.6

:rescue_worker_helmet: Automatic Remediation is available for this issue
CVE-2022-29238 ### Vulnerable Library - notebook-4.4.0.tgz

A web-based notebook environment for interactive computing

Library home page: https://files.pythonhosted.org/packages/0f/52/5564e26247b8c17307aabe410bd323cbceb5a2f341ca19ac9ba10d9f107a/notebook-4.4.0.tgz

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **notebook-4.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 772f29aeb942981cc5b0689ea7fd584a0b816a20

Found in base branch: main

### Vulnerability Details

Jupyter Notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.12, authenticated requests to the notebook server with `ContentsManager.allow_hidden = False` only prevented listing the contents of hidden directories, not accessing individual hidden files or files in hidden directories (i.e. hidden files were 'hidden' but not 'inaccessible'). This could lead to notebook configurations allowing authenticated access to files that may reasonably be expected to be disallowed. Because fully authenticated requests are required, this is of relatively low impact. But if a server's root directory contains sensitive files whose only protection from the server is being hidden (e.g. `~/.ssh` while serving $HOME), then any authenticated requests could access files if their names are guessable. Such contexts also necessarily have full access to the server and therefore execution permissions, which also generally grants access to all the same files. So this does not generally result in any privilege escalation or increase in information access, only an additional, unintended means by which the files could be accessed. Version 6.4.12 contains a patch for this issue. There are currently no known workarounds.

Publish Date: 2022-06-14

URL: CVE-2022-29238

### CVSS 3 Score Details (4.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/jupyter/notebook/security/advisories/GHSA-v7vq-3x77-87vg

Release Date: 2022-06-14

Fix Resolution: 5.7.14

:rescue_worker_helmet: Automatic Remediation is available for this issue

:rescue_worker_helmet: Automatic Remediation is available for this issue.

dev-mend-for-github-com[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

dev-mend-for-github-com[bot] commented 1 year ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.