GitHub Advisoryadvisory · PyPI
GHSA-cg54-gpgr-4rm6 user-readable api tokens in systemd units for JupyterHub
HIGH
Official page ↗
- Aliases
- CVE-2020-26261
- Ecosystem
- PyPI
- Packages
- jupyterhub-systemdspawner
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-668
- Reviewed
- 2020-12-09
Affected packages
• PyPI jupyterhub-systemdspawner: < 0.15.0 → fixed in 0.15.0
Description
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 [email protected]
Related
Alias · CVE (1)
- CVE-2020-26261 jupyterhub-systemdspawner enables JupyterHub to spawn single-user notebook servers using systemd. vulnerability
Weakness · CWE (1)
- CWE-668 Exposure of Resource to Wrong Sphere weakness
References
- https://github.com/jupyterhub/systemdspawner/security/advisories/GHSA-cg54-gpgr-4rm6 web
- https://nvd.nist.gov/vuln/detail/CVE-2020-26261 advisory
- https://github.com/jupyterhub/systemdspawner/commit/a4d08fd2ade1cfd0ef2c29dc221e649345f23580 web
- https://github.com/jupyterhub/systemdspawner package
- https://github.com/jupyterhub/systemdspawner/blob/master/CHANGELOG.md#v015 web
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-systemdspawner/PYSEC-2020-52.yaml web
- https://pypi.org/project/jupyterhub-systemdspawner web