Advisory

PYSEC-2022-12

Also known as: CVE-2022-21699, GHSA-pq7m-3gw7-gq5x

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-01-19 22:15 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

ipython

PyPI · All systems

Affected

  • 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 (ecosystem)

Fixed versions

6.0.0rc1, 7.16.3, 7.31.1, 8.0.1

Fix

  • Fixed version 6.0.0rc1
    pip install --upgrade ipython==6.0.0rc1
  • Fixed version 7.16.3
    pip install --upgrade ipython==7.16.3
  • Fixed version 7.31.1
    pip install --upgrade ipython==7.31.1
  • Fixed version 8.0.1
    pip install --upgrade ipython==8.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences