CVE-2022-21699Ipython
High 8.8
Follow: this CVE · Ipython · Ipython We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 41
- Auth required
- Yes
- Published
- Jan 19, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ipython.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ipython |
< 5.11 |
5.11 |
pip install "ipython>=5.11" |
| PyPI | ipython |
≥ 6.0.0 < 7.16.3 |
7.16.3 |
pip install "ipython>=7.16.3" |
| PyPI | ipython |
≥ 7.17.0 < 7.31.1 |
7.31.1 |
pip install "ipython>=7.31.1" |
| PyPI | ipython |
≥ 8.0.0 < 8.0.1 |
8.0.1 |
pip install "ipython>=8.0.1" |
| PyPI | ipython |
< 6.0.0rc1 |
6.0.0rc1 |
pip install "ipython>=6.0.0rc1" |
| PyPI | ipython |
≥ 6.0.0 < 7.16.3 |
7.16.3 |
pip install "ipython>=7.16.3" |
| PyPI | ipython |
≥ 7.17.0 < 7.31.1 |
7.31.1 |
pip install "ipython>=7.31.1" |
| PyPI | ipython |
≥ 8.0.0 < 8.0.1 |
8.0.1 |
pip install "ipython>=8.0.1" |
Per OSV / GitHub Advisories (GHSA-pq7m-3gw7-gq5x, PYSEC-2022-12). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ipython | ipython | ≤ 5.10.0 |
| ipython | ipython | ≥ 6.0.0 < 7.16.3 |
| ipython | ipython | ≥ 7.17.0 < 7.31.1 |
| ipython | ipython | ≥ 8.0.0 < 8.0.1 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory
- ipython.readthedocs.io Release Notes Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org