Vulnerability · Published Jan 19, 2022 · Assigned by GitHub_M

CVE-2022-21699Execution with Unnecessary Privileges in ipython

High 8.2

In plain English

A high-severity security flaw in ipython from ipython. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.7%top 48.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20ipython7.31.1-r0ALPINE-CVE-2022-21699
Alpine:v3.21ipython7.31.1-r0ALPINE-CVE-2022-21699
Alpine:v3.22ipython7.31.1-r0ALPINE-CVE-2022-21699
Alpine:v3.23ipython7.31.1-r0ALPINE-CVE-2022-21699
Alpine:v3.24ipython7.31.1-r0ALPINE-CVE-2022-21699
Debian:12ipython7.31.1-1DEBIAN-CVE-2022-21699
Debian:13ipython7.31.1-1DEBIAN-CVE-2022-21699
Debian:14ipython7.31.1-1DEBIAN-CVE-2022-21699
PyPIipython8.0.1GHSA-pq7m-3gw7-gq5x
PyPIipython6.0.0rc1, 7.16.3, 7.31.1, 8.0.1PYSEC-2022-12
PyPIipython7.31.1GHSA-pq7m-3gw7-gq5x
PyPIipython7.16.3GHSA-pq7m-3gw7-gq5x
PyPIipython5.11GHSA-pq7m-3gw7-gq5x

Affected products (as reported)

VendorProductVersions
ipython ipython < 5.11>= 6.0.0, < 7.16.3>= 7.17.0, < 7.31.1>= 8.0.0, < 8.0.1

Weakness: CWE-250, CWE-279 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

References