9.8

CVE-2021-39159: jupyter binderhub Code Injection

CVSS: 9.8v3.1CriticalModified
AliasesGHSA-9jjr-qqfp-ppwxPYSEC-2021-371
Published 25-08-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-39159 is a critical (CVSS 9.8) Code Injection vulnerability in jupyter binderhub. EPSS estimates a 1.93% chance of exploitation in the next 30 days, higher than 79.6% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.93%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 25-08-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

BinderHub is a kubernetes-based cloud service that allows users to share reproducible interactive computing environments from code repositories. In affected versions a remote code execution vulnerability has been identified in BinderHub, where providing BinderHub with maliciously crafted input could execute code in the BinderHub context, with the potential to egress credentials of the BinderHub deployment, including JupyterHub API tokens, kubernetes service accounts, and docker registry credentials. This may provide the ability to manipulate images and other user created pods in the deployment, with the potential to escalate to the host depending on the underlying kubernetes configuration. Users are advised to update to version 0.2.0-n653. If users are unable to update they may disable the git repo provider by specifying the `BinderHub.repo_providers` as a workaround.

CVSS metrics

5 scores · 3 sources · 3 versions

EPSS trend

Probability

1.93%

Chance of exploitation in the next 30 days

Percentile

80%

Versus all other CVEs

30-day change

0.00 pp

From 1.93% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.93%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Jupyter1 product
Jupyterhub1 product
PyPI1 product
  • binderhub< 0.2.0 | < 195caac172690456dcdc8cc7a6ca50e05abf8182.patch | < 0.2.0-n653

3 vendors · 3 products

References

6 links