5.4 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): Low (L)
- Availability (A): Low (L)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): Low (L)
Activity log
- Created suggestion
JupyterHub: Cross-origin form POSTs bypass XSRF
JupyterHub is software that allows users to create a multi-user server for Jupyter notebooks. In versions 4.1.0 through 5.4.4, XSRF protection (updated in 4.1.0) inappropriately treated requests with Sec-Fetch-Mode: no-cors as same-origin requests, bypassing XSRF checks. The JSON API is not affected, only HTTP form endpoints, such as /hub/spawn and /hub/accept-share, meaning attackers could trigger server spawn (but not access the server) and if the attacker is a JupyterHub user permitted to share access to their server, cause a user to accept a share and have access to the attacker's server. This issue has been fixed in version 5.4.5. If developers are unable to immediately upgrade, they can temporarily mitigate this issue by dropping requests to JupyterHub with Sec-Fetch-Mode: no-cors if they are using a reverse proxy.
References
Affected products
- ==>= 4.1.0, < 5.4.5
Matching in nixpkgs
pkgs.python312Packages.jupyterhub
Serves multiple Jupyter notebook instances
pkgs.python313Packages.jupyterhub
Serves multiple Jupyter notebook instances
pkgs.python314Packages.jupyterhub
Serves multiple Jupyter notebook instances
pkgs.python312Packages.jupyterhub-systemdspawner
JupyterHub Spawner using systemd for resource isolation
pkgs.python313Packages.jupyterhub-systemdspawner
JupyterHub Spawner using systemd for resource isolation
pkgs.python314Packages.jupyterhub-systemdspawner
JupyterHub Spawner using systemd for resource isolation
pkgs.python312Packages.jupyterhub-tmpauthenticator
Simple Jupyterhub authenticator that allows anyone to log in
pkgs.python313Packages.jupyterhub-tmpauthenticator
Simple Jupyterhub authenticator that allows anyone to log in
pkgs.python314Packages.jupyterhub-tmpauthenticator
Simple Jupyterhub authenticator that allows anyone to log in
pkgs.python312Packages.jupyterhub-ldapauthenticator
Simple LDAP Authenticator Plugin for JupyterHub
pkgs.python313Packages.jupyterhub-ldapauthenticator
Simple LDAP Authenticator Plugin for JupyterHub
pkgs.python314Packages.jupyterhub-ldapauthenticator
Simple LDAP Authenticator Plugin for JupyterHub
Package maintainers
-
@natsukium Tomoya Otabi <nixpkgs@natsukium.com>
-
@thomasjm Tom McLaughlin <tom@codedown.io>
-
@GaetanLepage Gaetan Lepage <gaetan@glepage.com>
-
@chiroptical Barry Moore II <chiroptical@gmail.com>