CVE-2024-39700CWE-94

Remote Code Execution (RCE) vulnerability in jupyterlab extension template `update-integration-tests` GitHub Action

Critical · published July 16, 2024

CVSS v3.1
10.0
EPSS
1%
Percentile
65.1
In the wild
Unconfirmed
What it is

🔥 A seemingly innocent template for JupyterLab extensions is hiding a critical remote code execution flaw! Think of it as a recipe book where one recipe could accidentally instruct you to add a dangerous ingredient — the `update-integration-tests.yml` workflow is that sneaky recipe, leading to potential chaos in your kitchen if not handled properly. An attacker could exploit this vulnerability to execute arbitrary code on your server, potentially giving them full control — that's like allowing a stranger to waltz into your kitchen and start cooking without your permission! If your extension is built from this template, the consequences could be absolutely devastating, leading to data breaches or system compromise.

Put simply

Think of it as a recipe book where one recipe could accidentally instruct you to add a dangerous ingredient — the `update-integration-tests.yml` workflow is that sneaky recipe, leading to potential chaos in your kitchen if not handled properly. The vulnerability lies in the `update-integration-tests.yml` workflow included in repositories created with the `test` option on the JupyterLab extension template, allowing for remote code execution if improperly configured or updated.

What to do

An attacker could exploit this vulnerability to execute arbitrary code on your server, potentially giving them full control — that's like allowing a stranger to waltz into your kitchen and start cooking without your permission! If your extension is built from this template, the consequences could be absolutely devastating, leading to data breaches or system compromise. To safeguard your project, immediately upgrade the template to the latest version. If you've customized the `update-integration-tests.yml`, be prepared to overwrite it and reapply your changes afterward. Consider temporarily disabling GitHub Actions while you work on this upgrade and remember to rebase open pull requests from untrusted users. You’ve got this! Follow these steps to lock down your JupyterLab extensions and keep your environment secure! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01092 · 65.1th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-07-16T17:37Z
EPSS history
Timeline
  • 16 JUL 17:37Z
    Remote Code Execution (RCE) vulnerability in jupyterlab extension template `update-integration-tests` GitHub Action
    cvelistv5