{"id":"UBUNTU-CVE-2022-21699","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.","modified":"2026-02-04T02:45:20.964959Z","published":"2022-01-19T22:15:00Z","related":["USN-5953-1"],"upstream":["CVE-2022-21699"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21699"},{"type":"REPORT","url":"https://ipython.readthedocs.io/en/stable/whatsnew/version8.html#ipython-8-0-1-cve-2022-21699"},{"type":"REPORT","url":"https://github.com/ipython/ipython/security/advisories/GHSA-pq7m-3gw7-gq5x"},{"type":"REPORT","url":"https://github.com/ipython/ipython/commit/46a51ed69cdf41b4333943d9ceeb945c4ede5668"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5953-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-21699"}],"affected":[{"package":{"name":"ipython","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/ipython@1.2.1-2ubuntu0.1~esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.2-2","1.1.0-1","1.2.0~rc1-1","1.2.1-2","1.2.1-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"ipython","binary_version":"1.2.1-2ubuntu0.1~esm1"},{"binary_name":"ipython-notebook","binary_version":"1.2.1-2ubuntu0.1~esm1"},{"binary_name":"ipython-notebook-common","binary_version":"1.2.1-2ubuntu0.1~esm1"},{"binary_version":"1.2.1-2ubuntu0.1~esm1","binary_name":"ipython-qtconsole"},{"binary_name":"ipython3","binary_version":"1.2.1-2ubuntu0.1~esm1"},{"binary_name":"ipython3-notebook","binary_version":"1.2.1-2ubuntu0.1~esm1"},{"binary_name":"ipython3-qtconsole","binary_version":"1.2.1-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21699.json"}},{"package":{"name":"ipython","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ipython@2.4.1-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-2ubuntu1","2.3.0-2ubuntu2","2.4.1-1","2.4.1-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"ipython","binary_version":"2.4.1-1ubuntu0.1~esm2"},{"binary_name":"ipython-notebook","binary_version":"2.4.1-1ubuntu0.1~esm2"},{"binary_name":"ipython-notebook-common","binary_version":"2.4.1-1ubuntu0.1~esm2"},{"binary_name":"ipython-qtconsole","binary_version":"2.4.1-1ubuntu0.1~esm2"},{"binary_name":"ipython3","binary_version":"2.4.1-1ubuntu0.1~esm2"},{"binary_name":"ipython3-notebook","binary_version":"2.4.1-1ubuntu0.1~esm2"},{"binary_name":"ipython3-qtconsole","binary_version":"2.4.1-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21699.json"}},{"package":{"name":"ipython","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ipython@5.5.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.0-1ubuntu0.1~esm1"}]}],"versions":["5.1.0-3","5.5.0-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"ipython","binary_version":"5.5.0-1ubuntu0.1~esm1"},{"binary_name":"ipython3","binary_version":"5.5.0-1ubuntu0.1~esm1"},{"binary_version":"5.5.0-1ubuntu0.1~esm1","binary_name":"python-ipython"},{"binary_name":"python3-ipython","binary_version":"5.5.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21699.json"}},{"package":{"name":"ipython","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ipython@7.13.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.13.0-1ubuntu0.1~esm1"}]}],"versions":["5.8.0-1","5.8.0-1build1","5.8.0-2","7.12.0-1","7.13.0-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"ipython3","binary_version":"7.13.0-1ubuntu0.1~esm1"},{"binary_name":"python3-ipython","binary_version":"7.13.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21699.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}