CVE-2022-21699
published high CVSS 3.1 · 8.2Execution with Unnecessary Privileges in ipython
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ipython | — | ipython< 5.11 · >= 6.0.0, < 7.16.3 · >= 7.17.0, < 7.31.1 · >= 8.0.0, < 8.0.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | ipython | Fixed | 7.31.1-r0 | Package fix record |
| Debian | bullseye | ipython | Advisory build | 7.20.0-1+deb11u1 | DSA-5065-1 |
| Ubuntu | bionic | ipython | Advisory build | 5.5.0-1ubuntu0.1~esm1 | USN-5953-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-ipythonnoarch | Advisory build | 7.13.0-bp153.2.6.1 | OPENSUSE-SU-2022:10043-1 |
| Alpine Linux | v3.16 | ipython | Fixed | 7.31.1-r0 | Package fix record |
| Alpine Linux | v3.17 | ipython | Fixed | 7.31.1-r0 | Package fix record |
| Alpine Linux | v3.18 | ipython | Fixed | 7.31.1-r0 | Package fix record |
Show 55 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | ipython | Fixed | 7.31.1-r0 | Package fix record |
| Alpine Linux | v3.20 | ipython | Fixed | 7.31.1-r0 | Package fix record |
| Alpine Linux | v3.21 | ipython | Fixed | 7.31.1-r0 | Package fix record |
| Alpine Linux | v3.22 | ipython | Fixed | 7.31.1-r0 | Package fix record |
| Alpine Linux | v3.23 | ipython | Fixed | 7.31.1-r0 | Package fix record |
| Alpine Linux | v3.24 | ipython | Fixed | 7.31.1-r0 | Package fix record |
| Debian | buster | ipython | Advisory build | 5.8.0-1+deb10u1 | DSA-5065-1 |
| Debian | stretch | ipython | Advisory build | 5.1.0-3+deb9u1 | DLA-2896-1 |
| Ubuntu | focal | ipython | Advisory build | 7.13.0-1ubuntu0.1~esm1 | USN-5953-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-ipython-iptestnoarch | Advisory build | 7.13.0-bp153.2.6.1 | OPENSUSE-SU-2022:10043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-ipythonaarch64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-ipythonppc64le | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-ipythons390x | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-ipythonx86_64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ipythonaarch64 | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ipythonppc64le | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ipythons390x | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ipythonx86_64 | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-ipythonaarch64 | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-ipythonppc64le | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-ipythons390x | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-ipythonx86_64 | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ipythonaarch64 | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ipythonppc64le | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ipythons390x | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ipythonx86_64 | Advisory build | 8.31.0-1.1 | OPENSUSE-SU-2025:14718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-ipythonaarch64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-ipythonppc64le | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-ipythons390x | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-ipythonx86_64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-ipythonaarch64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-ipythonppc64le | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-ipythons390x | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-ipythonx86_64 | Advisory build | 8.0.1-1.1 | OPENSUSE-SU-2024:11763-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyderaarch64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyderppc64le | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyders390x | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyderx86_64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-dicomaarch64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-dicomppc64le | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-dicoms390x | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-dicomx86_64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-hdf5aarch64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-hdf5ppc64le | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-hdf5s390x | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-hdf5x86_64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-langaarch64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-langppc64le | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-langs390x | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spyder-langx86_64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:11995-1 |
| Ubuntu | bionic | ipython3 | Advisory build | 5.5.0-1ubuntu0.1~esm1 | USN-5953-1 |
| Ubuntu | bionic | python-ipython | Advisory build | 5.5.0-1ubuntu0.1~esm1 | USN-5953-1 |
| Ubuntu | bionic | python3-ipython | Advisory build | 5.5.0-1ubuntu0.1~esm1 | USN-5953-1 |
| Ubuntu | focal | ipython3 | Advisory build | 7.13.0-1ubuntu0.1~esm1 | USN-5953-1 |
| Ubuntu | focal | python3-ipython | Advisory build | 7.13.0-1ubuntu0.1~esm1 | USN-5953-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ipython | ipython | < 5.11 (affected)>= 6.0.0, < 7.16.3 (affected)>= 7.17.0, < 7.31.1 (affected)>= 8.0.0, < 8.0.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-250 CWE-250: Execution with Unnecessary Privileges
- CWE-279 CWE-279: Incorrect Execution-Assigned Permissions
References
6- https://github.com/ipython/ipython/commit/46a51ed69cdf41b4333943d9ceeb945c4ede5668
- https://github.com/ipython/ipython/security/advisories/GHSA-pq7m-3gw7-gq5x
- https://ipython.readthedocs.io/en/stable/whatsnew/version8.html#ipython-8-0-1-cve-2022-21699
- [debian-lts-announce] 20220124 [SECURITY] [DLA 2896-1] ipython security update https://lists.debian.org/debian-lts-announce/2022/01/msg00021.html
- FEDORA-2022-b58d156ab0 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CRQRTWHYXMLDJ572VGVUZMUPEOTPM3KB/
- FEDORA-2022-b9e38f8a56 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DZ7LVZBB4D7KVSFNEQUBEHFO3JW6D2ZK/
Provider assertions
3GitHub_M · cna
Execution with Unnecessary Privileges in ipython
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3734b525797d891660c1ceddb45439ee52bc1e1190466eda45519692d5bd9fbb
- Ingested
- 23 Sep 2026, 07:58:18 UTC
- Source record
- Official CVE record