CVE-2020-26261
Jupyterhub Systemdspawner vulnerability
jupyterhub-systemdspawner enables JupyterHub to spawn single-user notebook servers using systemd. 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. This is patched in jupyterhub-systemdspawner v0.15
Affected products
Systemdspawner. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jupyterhub Systemdspawner runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/jupyterhub/systemdspawner/commit/a4d08fd2ade1cfd0ef2c29dc221e649345f23580 · Patch
- github.com/jupyterhub/systemdspawner/blob/master/CHANGELOG.md#v015 · Third Party Advisory
- github.com/jupyterhub/systemdspawner/security/advisories/GHSA-cg54-gpgr-4rm6 · Third Party Advisory
- pypi.org/project/jupyterhub-systemdspawner/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-26261
- github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-systemdspawner/PYSEC-2020-52.
- pypi.org/project/jupyterhub-systemdspawner
- github.com/advisories/GHSA-cg54-gpgr-4rm6
- nvd.nist.gov/vuln/detail/CVE-2020-26261
- cve.org/CVERecord?id=CVE-2020-26261
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.