user-readable api tokens in systemd units for JupyterHub
Impact
user API tokens issued to single-user servers are specified in the environment of systemd units, which are accessible to all users.
In particular, the-littlest-jupyterhub is affected, which uses systemdspawner by default.
Patches
Patched in jupyterhub-systemdspawner v0.15
Workarounds
No workaround other than upgrading systemdspawner to 0.15
For more information
If you have any questions or comments about this advisory:
- Open a thread in the Jupyter forum
- Email us at security@ipython.org
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | jupyterhub-systemdspawner | < 0.15.0 | 0.15.0 |
Verweise
- https://github.com/jupyterhub/systemdspawner/security/advisories/GHSA-cg54-gpgr-4rm6
- https://github.com/jupyterhub/systemdspawner/commit/a4d08fd2ade1cfd0ef2c29dc221e649345f23580
- https://pypi.org/project/jupyterhub-systemdspawner/
- https://github.com/jupyterhub/systemdspawner/blob/master/CHANGELOG.md#v015
- https://nvd.nist.gov/vuln/detail/CVE-2020-26261
- https://github.com/jupyterhub/systemdspawner
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-systemdspawner/PYSEC-2020-52.yaml
- https://pypi.org/project/jupyterhub-systemdspawner
- CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N- Schwäche (CWE)
CWE-668- Plattform
- Python (PyPI)
- Paket
jupyterhub-systemdspawner- Veröffentlicht
- 09.12.2020
- Aktualisiert
- 11.10.2026 15:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2020-52 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-cg54-gpgr-4rm6 - CC BY 4.0
Schwachstellenhistorie: jupyterhub-systemdspawner
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.