Advisory

GHSA-cg54-gpgr-4rm6

Also known as: CVE-2020-26261, PYSEC-2020-52

Summary

user-readable api tokens in systemd units for JupyterHub

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-12-09 16:27 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

jupyterhub-systemdspawner

PyPI · All systems

Affected

  • introduced 0, fixed 0.15.0 (ecosystem)

Fixed versions

0.15.0

Fix

  • Fixed version 0.15.0
    pip install --upgrade jupyterhub-systemdspawner==0.15.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences