{"id":"GHSA-m678-f26j-3hrp","summary":"Execution with Unnecessary Privileges in JupyterApp","details":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nWe’d like to disclose an arbitrary code execution vulnerability in `jupyter_core` that stems from `jupyter_core` executing untrusted files in the current working directory. This vulnerability allows one user to run code as another.\n\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\nUsers should upgrade to `jupyter_core\u003e=4.11.2`.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nNo\n\n### References\n_Are there any links users can visit to find out more?_\nSimilar advisory in [IPython](https://github.com/advisories/GHSA-pq7m-3gw7-gq5x)\n\n","aliases":["CVE-2022-39286","PYSEC-2022-42974"],"modified":"2025-02-15T05:26:48.871067Z","published":"2022-10-26T22:07:00Z","database_specific":{"cwe_ids":["CWE-250","CWE-269","CWE-427"],"github_reviewed_at":"2022-10-26T22:07:00Z","github_reviewed":true,"nvd_published_at":"2022-10-26T20:15:00Z","severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/jupyter/jupyter_core/security/advisories/GHSA-m678-f26j-3hrp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39286"},{"type":"WEB","url":"https://github.com/jupyter/jupyter_core/commit/1118c8ce01800cb689d51f655f5ccef19516e283"},{"type":"PACKAGE","url":"https://github.com/jupyter/jupyter_core"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-core/PYSEC-2022-42974.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00022.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KKMP5OXXIX2QAUNVNJZ5UEQFKDYYJVBA"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YIDN7JMLK6AOMBQI4QPSW4MBQGWQ5NIN"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202301-04"},{"type":"WEB","url":"https://www.debian.org/security/2023/dsa-5422"}],"affected":[{"package":{"name":"jupyter-core","ecosystem":"PyPI","purl":"pkg:pypi/jupyter-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.2"}]}],"versions":["4.0.0","4.0.0.dev","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.1.0","4.1.1","4.10.0","4.11.0","4.11.1","4.2.0","4.2.1","4.3.0","4.4.0","4.5.0","4.6.0","4.6.1","4.6.2","4.6.3","4.7.0","4.7.0rc0","4.7.1","4.8.0","4.8.0b0","4.8.0rc0","4.8.0rc1","4.8.1","4.8.2","4.9.0","4.9.0rc0","4.9.1","4.9.1rc0","4.9.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-m678-f26j-3hrp/GHSA-m678-f26j-3hrp.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}