Advisory

GHSA-m678-f26j-3hrp

Also known as: CVE-2022-39286, PYSEC-2022-42974

Summary

Execution with Unnecessary Privileges in JupyterApp

Details

Impact
_What kind of vulnerability is it? Who is impacted?_
We’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.

Patches
_Has the problem been patched? What versions should users upgrade to?_
Users should upgrade to jupyter_core>=4.11.2.

Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
No

References
_Are there any links users can visit to find out more?_
Similar advisory in IPython

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-10-26 22:07 UTC
Modified
2025-02-15 05:26 UTC

Affected packages and fixes

jupyter-core

PyPI · All systems

Affected

  • introduced 0, fixed 4.11.2 (ecosystem)

Fixed versions

4.11.2

Fix

  • Fixed version 4.11.2
    pip install --upgrade jupyter-core==4.11.2

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences