CVE-2021-39159CWE-94

Remote code execution in Binderhub

Critical · published August 25, 2021

CVSS v3.1
9.6
EPSS
2%
Percentile
79.8
In the wild
Unconfirmed
What it is

🚨 A maliciously crafted input can allow remote code execution in BinderHub, and that means attackers can potentially swipe sensitive credentials! 🔥 Think of it like a chef who can use a recipe card to sneak in unauthorized ingredients into a kitchen. If they get crafty, they could manipulate dishes and even take control of the restaurant! This vulnerability could lead to an absolute disaster: attackers might snag JupyterHub API tokens, Kubernetes service accounts, and even Docker registry credentials, giving them the power to manipulate images and user-created pods. Depending on your Kubernetes configuration, the attacker could even escalate their access all the way to the host!

Put simply

Think of it like a chef who can use a recipe card to sneak in unauthorized ingredients into a kitchen. If they get crafty, they could manipulate dishes and even take control of the restaurant! CVE-2021-39159 is a critical remote code execution vulnerability in BinderHub due to insufficient input validation, allowing attackers to execute arbitrary code in the BinderHub context.

What to do

This vulnerability could lead to an absolute disaster: attackers might snag JupyterHub API tokens, Kubernetes service accounts, and even Docker registry credentials, giving them the power to manipulate images and user-created pods. Depending on your Kubernetes configuration, the attacker could even escalate their access all the way to the host! Update BinderHub to version 0.2.0-n653 immediately to patch this vulnerability. If an update isn't feasible right away, consider disabling the git repo provider by setting `BinderHub.repo_providers` as a temporary workaround. You've got this! Follow those steps, and you'll keep your BinderHub deployment safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01928 · 79.8th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2021-08-25T18:20Z
EPSS history
Timeline
  • 25 AUG 18:20Z
    Remote code execution in Binderhub
    cvelistv5