CVE-2022-21699: Execution with Unnecessary Privileges in ipython

CVE-2022-21699 · Severity: low · CVSS 3.1 · Published 2022-01-19

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.

Technologies: ipython (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2022-21699 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-21699 being exploited in the wild.
How severe is CVE-2022-21699?
Low severity, with a CVSS score of 3.1, published 19 January 2022.
Which products and versions are affected?
ipython (PyPI) ECOSYSTEM:introduced=0,fixed=5.11, GIT:introduced=0,fixed=46a51ed69cdf41b4333943d9ceeb945c4ede5668|ECOSYSTEM:introduced=0,fixed=6.0.0rc1,introduced=6.0.0,fixed=7.16.3,introduced=7.17.0,fixed=7.31.1,introduced=8.0.0,fixed=8.0.1.
Is there a fix for CVE-2022-21699?
Yes. ipython (PyPI): upgrade to 5.11, 8.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-21699?
Check whether you run ipython (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ipython (PyPI): upgrade to 5.11, 8.0.1 or later
    pip install "ipython>=8.0.1"

Affected products

  • ipython (PyPI) ECOSYSTEM:introduced=0,fixed=5.11, GIT:introduced=0,fixed=46a51ed69cdf41b4333943d9ceeb945c4ede5668|ECOSYSTEM:introduced=0,fixed=6.0.0rc1,introduced=6.0.0,fixed=7.16.3,introduced=7.17.0,fixed=7.31.1,introduced=8.0.0,fixed=8.0.1

Identifiers

  • CVE-2022-21699
  • GHSA-pq7m-3gw7-gq5x
  • PYSEC-2022-12

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.