CVE-2020-26261: user-readable api tokens in systemd units

Published Dec 9, 2020
·
Updated

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 security@ipython.org

Other sources

JupyterHub systemdspawner could allow a local authenticated attacker to bypass security restrictions, caused by improper access control to the API tokens. By sending a specially-crafted request, an attacker could exploit this vulnerability to send arbitrary API requests.

IBM

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 Software

4 affected componentsFixes available
pip/jupyterhub-systemdspawner<0.15.0
0.15.0
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP4
JupyterHub systemdspawner<0.15

Event History

Dec 9, 2020
Advisory Published
via GitHub·04:27 PM
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-26261?

CVE-2020-26261 is a vulnerability in jupyterhub-systemdspawner that allows unauthorized access to user API tokens.

2

How does CVE-2020-26261 affect JupyterHub?

CVE-2020-26261 affects JupyterHub by incorrectly exposing user API tokens to all users.

3

What is the severity of CVE-2020-26261?

The severity of CVE-2020-26261 is high with a CVSS score of 7.9.

4

How can I fix CVE-2020-26261?

To fix CVE-2020-26261, update jupyterhub-systemdspawner to version 0.15 or newer.

5

Where can I find more information about CVE-2020-26261?

You can find more information about CVE-2020-26261 in the official GitHub repository of jupyterhub-systemdspawner.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203