VDB
Sign up
MEDIUM4.5

PYSEC-2021-67

Quick fix

PYSEC-2021-67 — jupyterhub: upgrade to the fixed version with the command below.

pip install --upgrade 'jupyterhub>=1.2.0b1'

Details

JupyterHub 1.1.0 allows CSRF in the admin panel via a request that lacks an _xsrf field, as demonstrated by a /hub/api/user request (to add or remove a user account).

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/jupyterhub
Introduced in: 0Fixed in: 1.2.0b1
Fixpip install --upgrade 'jupyterhub>=1.2.0b1'

References