OS Command Injection in ipython - CVE-2023-24816

 

OS Command Injection in ipython - CVE-2023-24816

Published: February 10, 2023


Vulnerability identifier: #VU72110
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-24816
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ipython.org
Affected software:
ipython

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation within the set_term_title() function in ipython/IPython/utils/terminal.py. A remote attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that the affected function is called on Windows in a Python environment where ctypes is not available.


How to mitigate CVE-2023-24816

Install updates from vendor's website.

Sources