CVE-2022-39286 Execution with Unnecessary Privileges in JupyterApp

High 8.8 Published Updated

Jupyter Core allows arbitrary code execution as another user by running untrusted files from the current working directory.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-39286?

CVE-2022-39286 is a high-severity vulnerability in Debian Debian Linux, published on 26 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jupyter Core is a package for the core common functionality of Jupyter projects. Jupyter Core prior to version 4.11.2 contains an arbitrary code execution vulnerability in `jupyter_core` that stems from `jupyter_core` executing untrusted files in CWD. This vulnerability allows one user to run code as another. Version 4.11.2 contains a patch for this issue. There are no known workarounds.

Weakness: CWE-269, CWE-427, CWE-250

Which versions are affected by CVE-2022-39286?

3 open source packages ship an affected version, including jupyter-core. It affects 3 products.

PackageAffectedFixed in
jupyter-core PyPIAll versions4.11.2
jupyter-core PyPIAll versions4.11.2
jupyter-core PyPIAll versions4.11.2

Products include Debian Debian Linux, Fedoraproject Fedora, Jupyter Jupyter Core.

How do I fix CVE-2022-39286?

Upgrade jupyter-core to 4.11.2 or later.

Is CVE-2022-39286 being exploited?

There is no known exploitation of CVE-2022-39286 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-39286, DLA-3195-1, DSA-5422-1, GHSA-m678-f26j-3hrp, MGASA-2023-0062, PYSEC-2022-42974 and 2 more.

Is CVE-2022-39286 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free