Vulnerability · Published Dec 9, 2020 · Assigned by GitHub_M
CVE-2020-26261user-readable api tokens in systemd units
High 7.9
In plain English
A high-severity security flaw in systemdspawner from jupyterhub. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | jupyterhub-systemdspawner | 0.15.0 | GHSA-cg54-gpgr-4rm6 |
| PyPI | jupyterhub-systemdspawner | 0.15.0 | PYSEC-2020-52 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| jupyterhub | systemdspawner | < 0.15 |
Weakness: CWE-668 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/jupyterhub/systemdspawner/security/advisories/GHSA-cg54-gpgr-4rm6 x_refsource_CONFIRM
- https://github.com/jupyterhub/systemdspawner/commit/a4d08fd2ade1cfd0ef2c29dc221e649345f23580 x_refsource_MISC
- https://github.com/jupyterhub/systemdspawner/blob/master/CHANGELOG.md#v015 x_refsource_MISC
- https://pypi.org/project/jupyterhub-systemdspawner/ x_refsource_MISC