Privilege escalation in Ipython
CVE-2022-21699
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 53.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ipython — versions < 5.11, >= 6.0.0, < 7.16.3, >= 7.17.0, < 7.31.1
- Debian Linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, gwyomarch/Shared-HTB-Writeup-FR). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/ipython/ipython/security/advisories/GHSA-pq7m-3gw7-gq5x (Exploit, Third Party Advisory)
- github.com/ipython/ipython/commit/46a51ed69cdf41b4333943d9ceeb945c4ede5668 (Patch, Third Party Advisory)
- ipython.readthedocs.io/en/stable/whatsnew/version8.html (Third Party Advisory, Release Notes)
- [debian-lts-announce] 20220124 [SECURITY] [DLA 2896-1] ipython security update (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2022-b58d156ab0 (vendor-advisory)
- FEDORA-2022-b9e38f8a56 (vendor-advisory)