CVE Vulnerabilities

CVE-2022-39286

Execution with Unnecessary Privileges

Published: Oct 26, 2022 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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

The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.

Affected Software

Name Vendor Start Version End Version
Jupyter_core Jupyter * 4.11.2 (excluding)
Jupyter-core Ubuntu bionic *
Jupyter-core Ubuntu esm-apps/bionic *
Jupyter-core Ubuntu esm-apps/focal *
Jupyter-core Ubuntu esm-apps/jammy *
Jupyter-core Ubuntu focal *
Jupyter-core Ubuntu jammy *
Jupyter-core Ubuntu kinetic *
Jupyter-core Ubuntu trusty *
Jupyter-core Ubuntu upstream *
Jupyter-core Ubuntu xenial *

Extended Description

New weaknesses can be exposed because running with extra privileges, such as root or Administrator, can disable the normal security checks being performed by the operating system or surrounding environment. Other pre-existing weaknesses can turn into security vulnerabilities if they occur while operating at raised privileges. Privilege management functions can behave in some less-than-obvious ways, and they have different quirks on different platforms. These inconsistencies are particularly pronounced if you are transitioning from one non-root user to another. Signal handlers and spawned processes run at the privilege of the owning process, so if a process is running as root when a signal fires or a sub-process is executed, the signal handler or sub-process will operate with root privileges.

Potential Mitigations

References