Security mailing lists by PureSourceCode

CVE-2022-21699

HIGH 8.8CVSS 3.1

Execution with Unnecessary Privileges in ipython

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
19 Jan 2022
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-250CWE-269CWE-279
Also known as
GHSA-pq7m-3gw7-gq5xPYSEC-2022-12
Sources
NVDJSONOSV GHSA-pq7m-3gw7-gq5xJSONOSV PYSEC-2022-12JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ipython ipython
cpe:2.3:a:ipython:ipython:*:*:*:*:*:*:*:*
<= 5.10.0
NVD ipython ipython
cpe:2.3:a:ipython:ipython:*:*:*:*:*:*:*:*
>= 6.0.0, < 7.16.3 7.16.3
NVD ipython ipython
cpe:2.3:a:ipython:ipython:*:*:*:*:*:*:*:*
>= 7.17.0, < 7.31.1 7.31.1
NVD ipython ipython
cpe:2.3:a:ipython:ipython:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.0.1 8.0.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
= 11.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
OSV PyPI ipython < 5.11 5.11
OSV PyPI ipython >= 6.0.0, < 7.16.3 7.16.3
OSV PyPI ipython >= 7.17.0, < 7.31.1 7.31.1
OSV PyPI ipython >= 8.0.0, < 8.0.1 8.0.1
OSV PyPI ipython < 6.0.0rc1; >= 6.0.0, < 7.16.3; >= 7.17.0, < 7.31.1; >= 8.0.0, < 8.0.1 6.0.0rc1, 7.16.3, 7.31.1, 8.0.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 19 Jan 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Jan 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.