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
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
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
- https://github.com/jupyter/jupyter_core/commit/1118c8ce01800cb689d51f655f5ccef19516e283
- https://github.com/jupyter/jupyter_core/security/advisories/GHSA-m678-f26j-3hrp
- https://lists.debian.org/debian-lts-announce/2022/11/msg00022.html
- https://security.gentoo.org/glsa/202301-04
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KKMP5OXXIX2QAUNVNJZ5UEQFKDYYJVBA/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YIDN7JMLK6AOMBQI4QPSW4MBQGWQ5NIN/
- https://www.debian.org/security/2023/dsa-5422