9.8

CVE-2021-39159: Remote code execution in Binderhub

Modified
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) Improper Control of Generation of Code vulnerability in jupyter binderhub. EPSS estimates a 1.93% chance of exploitation in the next 30 days, higher than 80.6% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.93%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

81%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.93% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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

3 vendors · 3 products

References

6 links