PyPI: jupyterhub-systemdspawner
CVE-2020-26261
Safety vulnerability ID: SFTY-20201209-51812
Safety legacy ID: pyup.io-42288
Jupyterhub-systemdspawner 0.15 includes a fix for CVE-2020-26261: In jupyterhub-systemdspawner before version 0.15 user API tokens issued to single-user servers are specified in the environment of systemd units. These tokens are incorrectly accessible to all users. In particular, the-littlest-jupyterhub is affected, which uses systemdspawner by default.
Overview
user-readable api tokens in systemd units for JupyterHub
Advisory
Jupyterhub-systemdspawner 0.15 includes a fix for CVE-2020-26261: In jupyterhub-systemdspawner before version 0.15 user API tokens issued to single-user servers are specified in the environment of systemd units. These tokens are incorrectly accessible to all users. In particular, the-littlest-jupyterhub is affected, which uses systemdspawner by default.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20201209-51812/CVE-2020-26261
- https://github.com/jupyterhub/systemdspawner/security/advisories/GHSA-cg54-gpgr-4rm6
- https://github.com/jupyterhub/systemdspawner/commit/a4d08fd2ade1cfd0ef2c29dc221e649345f23580
- https://github.com/jupyterhub/systemdspawner/blob/master/CHANGELOG.md#v015
- https://nvd.nist.gov/vuln/detail/CVE-2020-26261
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-systemdspawner/PYSEC-2020-52.yaml
- https://pypi.org/project/jupyterhub-systemdspawner
- https://github.com/advisories/GHSA-cg54-gpgr-4rm6
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
