Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ipython
  4. ›
  5. CVE-2023-24816

CVE-2023-24816: IPython vulnerable to command injection via set_term_title

February 10, 2023 (updated September 24, 2024)

IPython provides an interactive Python shell and Jupyter kernel to use Python interactively. Versions prior to 8.10.0 are vulnerable to command injection in the set_term_title function under specific conditions. This has been patched in version 8.10.0.

References

  • github.com/Carreau/ipython/blob/7557ade0ed927475d5ab5b573d0ea4febfb22683/docs/source/whatsnew/version8.rst
  • github.com/advisories/GHSA-29gw-9793-fvw7
  • github.com/ipython/ipython
  • github.com/ipython/ipython/blob/3f0bf05f072a91b2a3042d23ce250e5e906183fd/IPython/utils/terminal.py
  • github.com/ipython/ipython/blob/56e6925dfa50e2c7f4a6471547b8176275db7c25/IPython/utils/_process_win32.py
  • github.com/ipython/ipython/commit/385d69325319a5972ee9b5983638e3617f21cb1f
  • github.com/ipython/ipython/commit/991849c247fc208628879e7ca2923b3c218a5a75
  • github.com/ipython/ipython/security/advisories/GHSA-29gw-9793-fvw7
  • github.com/pypa/advisory-database/tree/main/vulns/ipython/PYSEC-2023-17.yaml
  • nvd.nist.gov/vuln/detail/CVE-2023-24816

Code Behaviors & Features

Detect and mitigate CVE-2023-24816 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.10.0

Fixed versions

  • 8.10.0

Solution

Upgrade to version 8.10.0 or above.

Impact 7 HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

pypi/ipython/CVE-2023-24816.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:26 +0000.