MidnightBSD

Advisories for ipython

CVE-2014-3429 MEDIUM

IPython Notebook 0.12 through 1.x before 1.2 does not validate the origin of websocket requests, which allows remote attackers to execute arbitrary code by leveraging knowledge of the kernel id and a crafted page.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-94,

Products Affected

Vendor Product Version
ipython ipython_notebook 0.13.1
ipython ipython_notebook 1.1.0
mageia mageia 4.0
ipython ipython_notebook 1.0.0
opensuse opensuse 13.1
ipython ipython_notebook 0.12.1
mageia mageia 3.0
ipython ipython_notebook 0.13.2
ipython ipython_notebook 0.12
ipython ipython_notebook 0.13
opensuse opensuse 13.2
CVE-2015-4706 MEDIUM

Cross-site scripting (XSS) vulnerability in IPython 3.x before 3.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving JSON error messages and the /api/contents path.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-79,

Products Affected

Vendor Product Version
ipython ipython 3.0.0
ipython ipython 3.1.0
CVE-2015-4707 MEDIUM

Cross-site scripting (XSS) vulnerability in IPython before 3.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving JSON error messages and the /api/notebooks path.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 6.1 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 2.8 2.7

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-79,

Products Affected

Vendor Product Version
ipython ipython *
CVE-2015-5607 MEDIUM

Cross-site request forgery in the REST API in IPython 2 and 3.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-352,

Products Affected

Vendor Product Version
ipython ipython 2.4.0
ipython ipython 3.2.1
ipython ipython 2.0.0
fedoraproject fedora 21
ipython ipython 3.2.2
ipython ipython 2.3.1
ipython ipython 3.0.0
ipython ipython 3.1.0
ipython ipython 3.2.3
ipython ipython 2.2.0
ipython ipython 2.4.1
ipython ipython 2.1.0
fedoraproject fedora 22
ipython ipython 3.2.0
ipython ipython 2.3.0
CVE-2015-6938 MEDIUM

Cross-site scripting (XSS) vulnerability in the file browser in notebook/notebookapp.py in IPython Notebook before 3.2.2 and Jupyter Notebook 4.0.x before 4.0.5 allows remote attackers to inject arbitrary web script or HTML via a folder name. NOTE: this was originally reported as a cross-site request forgery (CSRF) vulnerability, but this may be inaccurate.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-79,

Products Affected

Vendor Product Version
fedoraproject fedora 23
jupyter notebook 4.0.3
fedoraproject fedora 21
jupyter notebook 4.0.0
jupyter notebook 4.0.2
jupyter notebook 4.0.4
opensuse opensuse 13.1
ipython notebook *
opensuse opensuse 13.2
jupyter notebook 4.0.1
fedoraproject fedora 22
CVE-2015-7337 MEDIUM

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.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
jupyter notebook 4.0.3
jupyter notebook 4.0.0
jupyter notebook 4.0.2
jupyter notebook 4.0.4
ipython notebook *
jupyter notebook 4.0.1
CVE-2022-21699 MEDIUM

IPython (Interactive Python) is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language. Affected versions are subject to an arbitrary code execution vulnerability achieved by not properly managing cross user temporary files. This vulnerability allows one user to run code as another on the same machine. All users are advised to upgrade.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
security-advisories@github.com 8.2 HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H 1.5 6.0
nvd@nist.gov 8.8 HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H 2.0 6.0

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-250,CWE-279,CWE-269,

Products Affected

Vendor Product Version
fedoraproject fedora 34
fedoraproject fedora 35
debian debian_linux 9.0
debian debian_linux 11.0
debian debian_linux 10.0
ipython ipython *
CVE-2023-24816

IPython (Interactive Python) is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language. Versions prior to 8.1.0 are subject to a command injection vulnerability with very specific prerequisites. This vulnerability requires that the function `IPython.utils.terminal.set_term_title` be called on Windows in a Python environment where ctypes is not available. The dependency on `ctypes` in `IPython.utils._process_win32` prevents the vulnerable code from ever being reached in the ipython binary. However, as a library that could be used by another tool `set_term_title` could be called and hence introduce a vulnerability. Should an attacker get untrusted input to an instance of this function they would be able to inject shell commands as current process and limited to the scope of the current process. Users of ipython as a library are advised to upgrade. Users unable to upgrade should ensure that any calls to the `IPython.utils.terminal.set_term_title` function are done with trusted or filtered input.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
security-advisories@github.com 4.5 MEDIUM CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L 1.0 3.4
nvd@nist.gov 7.0 HIGH CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H 1.0 5.9

Products Affected

Vendor Product Version
ipython ipython *