Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-24816

4.5 · MEDIUM
Published Feb 10, 2023 ipython CWE-20 EPSS 1.29% (68th pctl)

Overview

CVE-2023-24816 is a medium-severity vulnerability affecting ipython ipython. It was published on February 10, 2023 and has a CVSS 3.1 base score of 4.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.5, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

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 `IP

Remediation

Check the references section for vendor advisories and patches from ipython. Update ipython to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
ipython ipython >= 0, < 8.10.0 Affected

Frequently Asked Questions

What is CVE-2023-24816?

CVE-2023-24816 is a medium-severity vulnerability affecting ipython ipython. It was published on February 10, 2023 and has a CVSS 3.1 base score of 4.5 (MEDIUM).

How severe is CVE-2023-24816?

This vulnerability has a CVSS 3.1 base score of 4.5, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-24816?

Check the references section for vendor advisories and patches from ipython. Update ipython to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-24816?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-24816 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.