7

CVE-2023-24816: set_term_title command injection in ipython

Modified
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.32% chance of exploitation in the next 30 days, higher than 71.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 4.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.0/10
010
High · v3.1 (NVD)
EPSS score
1.32%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.32%

Chance of exploitation in the next 30 days

Percentile

72%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 1.31% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Ipython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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