Untrusted search path in Jupyter Core - CVE-2022-39286

 

Untrusted search path in Jupyter Core - CVE-2022-39286

Published: June 13, 2023


Vulnerability identifier: #VU77174
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-39286
CWE-ID: CWE-79
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to jupyter_core executes untrused files from the current working directory. A local user can place a malicious file on the system and execute arbitrary code with elevated privileges.

Affected software

Jupyter Core
Debian Linux
Gentoo Linux
Fedora
Ubuntu
python3-jupyter-core (Ubuntu package)
python-jupyter-core (Ubuntu package)
jupyter-core (Debian package)
python-jupyter-core
dev-python/jupyter_core

How to mitigate CVE-2022-39286

Install updates from vendor's website.

Jupyter Core - update to 4.11.2
python3-jupyter-core (Ubuntu package) - addressed in versions Ubuntu Pro, 4.11.1-1ubuntu0.22.10.1
python-jupyter-core (Ubuntu package) - update to Ubuntu Pro
jupyter-core (Debian package) - update to 4.7.1-1+deb11u1
python-jupyter-core - addressed in versions 4.9.1-3.fc36, 4.10.0-3.el9, 4.10.0-4.fc37
dev-python/jupyter_core - update to 4.11.2

External References

Related Security Bulletins