CVE-2022-21699: Execution with Unnecessary Privileges in ipython
Vulnerability summary
CVE-2022-21699 is a high (CVSS 8.8) Execution with Unnecessary Privileges vulnerability in debian debian_linux. EPSS estimates a 0.69% chance of exploitation in the next 30 days, higher than 54.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 19-01-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
10 scores · 8 sources · 3 versions- CVE.orgCNA8.2HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HDiffers
- OSV · PypiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.2HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated8.2HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HDiffers
- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.69%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.65% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundIpython
Maturity: poc
Weaknesses
CWE · root cause- CWE-250Execution with Unnecessary PrivilegesThe product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.
- CWE-279Incorrect Execution-Assigned PermissionsWhile it is executing, the product sets the permissions of an object in a way that violates the intended permissions that have been specified by the user.
- CWE-269Improper Privilege ManagementThe product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
Affected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Opensuse3 products
- python-ipython-test&distro=openSUSE Leap 15.3< 7.13.0-bp153.2.6.6
- python-ipython&distro=openSUSE Leap 15.3< 7.13.0-bp153.2.6.1
- python-ipython&distro=openSUSE Tumbleweed< 8.31.0-1.1
Debian2 products
- ipython< 5.1.0-3+deb9u1 | < 5.8.0-1+deb10u1 | < 7.20.0-1+deb11u1 | < 7.31.1-1
- debian_linuxEOL9.0 | 10.0 | 11.0
Suse2 products
- python-ipython-test&distro=SUSE Package Hub 15 SP3< 7.13.0-bp153.2.6.6
- python-ipython&distro=SUSE Package Hub 15 SP3< 7.13.0-bp153.2.6.1
Alpine1 product
- ipython≥ 6.0.0, < 7.31.1-r0 | ≥ 7.17.0, < 7.31.1-r0
Chainguard1 product
- kubeflow-pipelines-visualization-server< 2.4.0-r0
Fedoraproject1 product
- fedoraEOL34 | 35
Ipython1 product
- ipython< 5.11 | ≤ 5.10.0 | ≥ 6.0.0, < 7.16.3 | ≥ 7.17.0, < 7.31.1 | ≥ 8.0.0, < 8.0.1
Mageia1 product
- ipython< 7.31.1-1.mga8
PyPI1 product
- ipython< 5.11 | ≥ 6.0.0, < 7.16.3 | ≥ 7.17.0, < 7.31.1 | < 46a51ed69cdf41b4333943d9ceeb945c4ede5668 | ≥ 8.0.0, < 8.0.1
Ubuntu1 product
- ipythonAll versions (No fix recorded) | < 5.5.0-1ubuntu0.1~esm1 | < 7.13.0-1ubuntu0.1~esm1
Wolfi1 product
- kubeflow-pipelines-visualization-server< 2.4.0-r0
11 vendors · 15 products
References
30 links- github.com/ipython/ipython/security/advisories/GHSA-pq7m-3gw7-gq5xX Refsource CONFIRMWEBAdvisoryREPORTExploitThird Party Advisory
- github.com/ipython/ipython/commit/46a51ed69cdf41b4333943d9ceeb945c4ede5668X Refsource MISCWEBFIXREPORTPatchThird Party Advisory
- ipython.readthedocs.io/en/stable/whatsnew/version8.htmlX Refsource MISCWEBREPORTRelease NotesThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/01/msg00021.htmlMailing ListX Refsource MLISTWEBARTICLEThird Party Advisory
Show all 30 references
- github.com/ipython/ipythonPACKAGE
- lists.opensuse.org/archives/…Advisory