CVE-2022-21699

Execution with Unnecessary Privileges in ipython

State
Published
Severity
8.2 High
Published
Jan 19, 2022
Updated
Apr 22, 2025
Reserved
Nov 16, 2021

Read the record on cve.org

Description

IPython (Interactive Python) is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language. Affected versions are subject to an arbitrary code execution vulnerability achieved by not properly managing cross user temporary files. This vulnerability allows one user to run code as another on the same machine. All users are advised to upgrade.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-250 Execution with Unnecessary Privileges
  • CWE-279 Incorrect Execution-Assigned Permissions

Affected Products

ProductVersions
ipythonipython
  • < 5.11Affected
  • >= 6.0.0, < 7.16.3Affected
  • >= 7.17.0, < 7.31.1Affected
  • >= 8.0.0, < 8.0.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.