UTC
High

Execution with Unnecessary Privileges in ipython

CVE-2022-21699 · GHSA-pq7m-3gw7-gq5x · published 2022-01-21 · updated 2024-09-27

Severity
High
CVSS score
8.2
Chance of exploitation (EPSS)
0.69%
Fixed in
8.0.1
  • Exploitation Public proof of concept
  • Automatable No
  • Technical impact Total
  • CISA SSVC
What it is

Execution with Unnecessary Privileges in ipython. The source advisory has the full description.

What to do

Upgrade ipython to 8.0.1 or later.

See https://ipython.readthedocs.io/en/stable/whatsnew/version8.html#ipython-8-0-1-cve-2022-21699, Version 8.0.1, 7.31.1 for current Python version are recommended. Version 7.16.3 has also been published for Python 3.6 users, Version 5.11 (source only, 5.x branch on github) for older Python versions.

Affected
PackageRegistryAffectedFixed in
ipythonPyPI< 5.115.11
ipythonPyPI>= 6.0.0, < 7.16.37.16.3
ipythonPyPI>= 7.17.0, < 7.31.17.31.1
ipythonPyPI>= 8.0.0, < 8.0.18.0.1

The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-11-22. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].