CVE-2023-24816

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-24816
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-24816.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-24816
Aliases
Related
Published
2023-02-10T20:15:53Z
Modified
2024-08-19T04:24:37.115507Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ipython/ipython

Affected ranges

Type
GIT
Repo
https://github.com/ipython/ipython
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.0a1

3.*

3.0.0-dev

4.*

4.0.0
4.1.0
4.1.0rc1
4.1.0rc2

5.*

5.0.0
5.0.0b1
5.0.0b2
5.0.0b3
5.0.0b4
5.0.0rc1
5.1.0

6.*

6.0.0
6.0.0rc1
6.1.0
6.2.0
6.3.0

7.*

7.0.0
7.0.0-doc
7.0.0b1
7.0.0rc1
7.0.1
7.1.0
7.1.1
7.10.0
7.10.1
7.11.0
7.11.1
7.12.0
7.2.0
7.3.0
7.4.0
7.5.0
7.6.0
7.6.1
7.7.0
7.8.0
7.9.0

8.*

8.0.0
8.0.0a1
8.0.0b1
8.0.0rc1
8.1.0
8.1.1
8.2.0
8.3.0
8.4.0
8.5.0
8.6.0
8.7.0
8.8.0
8.9.0

dev-0.*

dev-0.11

rel-0.*

rel-0.11
rel-0.12
rel-0.13
rel-0.8.4
rel-0.9
rel-0.9.1

rel-1.*

rel-1.0.0

rel-2.*

rel-2.0.0

rel-3.*

rel-3.0.0

rel-4.*

rel-4.0.0
rel-4.0.0b1
rel-4.1.0
rel-4.1.0rc2