7

CVE-2023-24816: ipython Improper Input Validation

CVSS: 7.0v3.1HighModified
AliasesGHSA-29gw-9793-fvw7PYSEC-2023-17UBUNTU-CVE-2023-24816
Published 10-02-2023Last modified 10-03-2025

Vulnerability summary

CVE-2023-24816 is a high (CVSS 7.0) Improper Input Validation vulnerability in ipython. EPSS estimates a 1.31% chance of exploitation in the next 30 days, higher than 70.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
38/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.0/10
010
High · v3.1 (NVD)
EPSS score
1.31%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 10-02-2023
    PublishedVulnerability first disclosed.
  2. 10-03-2025
    Last modifiedVulnerability information updated.

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 `IPython.utils.terminal.set_term_title` function are done with trusted or filtered input.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

1.31%

Chance of exploitation in the next 30 days

Percentile

70%

Versus all other CVEs

30-day change

0.00 pp

From 1.31% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.31%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Ipython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard1 product
  • kubeflow-pipelines-visualization-server< 2.17.0-r0
Ipython1 product
PyPI1 product
  • ipython< 385d69325319a5972ee9b5983638e3617f21cb1f | < 8.10.0
Ubuntu1 product
  • ipythonAll versions (No fix recorded)
Wolfi1 product
  • kubeflow-pipelines-visualization-server< 2.17.0-r0

5 vendors · 5 products

References

12 links
Show all 12 references