jupyter_core: Arbitrary Code Execution — GLSA 202301-04

A vulnerability has been discovered in jupyter_core which could allow for the execution of code as another user.

Affected packages

dev-python/jupyter_core on all architectures
Affected versions < 4.11.2
Unaffected versions >= 4.11.2

Background

jupyter_core contains core Jupyter functionality.

Description

jupyter_core trusts files for execution in the current working directory without validating ownership of those files.

Impact

By writing to a directory that is used a the current working directory for jupyter_core by another user, users can elevate privileges to those of another user.

Workaround

There is no known workaround at this time.

Resolution

All jupyter_core users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-python/jupyter_core-4.11.2"
 

References

Release date
January 11, 2023

Latest revision
January 11, 2023: 1

Severity
high

Exploitable
remote

Bugzilla entries