llamaCVEVulnerability Intelligence
/
extension-template

CVE-2024-39700

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

Solo en configuraciones específicasParche disponiblecode injection
Descargar PNG JSON
CVSS 3.1
10.0
Crítica
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos21 fuente
Parche2 versionesPrimer parche a 106 d de la divulgación
Exposición857 dDesde la divulgación, 16 jul 2024, 12:37 p. m.
Detección839 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Existe PoC pública, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Parche 4.3.0
Monitoreo
Detectada
Verificada
16 jul 24
16 ago 24
30 oct 24
3 nov 26
4 nov 26
16 nov 26
21 nov 26
16 jul 24
16 feb 25
18 sept 25
20 abr 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2024-39700 divulgada · CVSS 10 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Remediación Parche 4.3.0 jupyterlab · 106 d desde divulgación
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

JupyterLab extension template is a `copier` template for JupyterLab extensions. Repositories created using this template with `test` option include `update-integration-tests.yml` workflow which has an RCE vulnerability. Extension authors hosting their code on GitHub are urged to upgrade the template to the latest version. Users who made changes to `update-integration-tests.yml`, accept overwriting of this file and re-apply your changes later. Users may wish to temporarily disable GitHub Actions while working on the upgrade. We recommend rebasing all open pull requests from untrusted users as actions may run using the version from the `main` branch at the time when the pull request was created. Users who are upgrading from template version prior to 4.3.0 may wish to leave out proposed changes to the release workflow for now as it requires additional configuration.

Repositories made from the jupyterlab extension template with the test option include a vulnerable update-integration-tests.yml workflow. CVSS rates it critical (10). Fixed in template 4.3.3.

¿Qué significa?The flaw is a remote code execution vulnerability in the update-integration-tests GitHub Action workflow. It allows code to be run remotely through that workflow.
¿Quién está afectado?Repositories created from the jupyterlab extension template with the test option include the update-integration-tests.yml workflow, and the advisory lists the template as affected before 4.3.3. The advisory also lists jupyterlab versions before 4.3.0. To check, look at the template version the repository was created from and whether the update-integration-tests.yml workflow file exists.
¿Qué hacer?Upgrade the extension template to 4.3.3 or later, as the advisory urges extension authors hosting code on GitHub to do. The advisory lists jupyterlab 4.3.0 as a fixed version as well.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Repository created from the extension template with the test option, which includes the update-integration-tests.yml workflow“Repositories created using this template with test option include update-integration-tests.yml workflow which has an RCE vulnerability.”
02
Extension code hosted on GitHub“Extension authors hosting their code on GitHub are urged to upgrade the template to the latest version.”
MitigaciónTemporarily disable GitHub Actions for the update-integration-tests workflow while upgrading
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 8.7 (muy fácil) · +1.3 por PoC pública.
Versiones

Rangos afectados

Afectada Corregida Última
jupyterlab< 4.3.0
extension-template< 4.3.3
4.3.0
4.3.3
4.6.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypijupyterlab
Corregida 4.3.0 106 d 4.6.6 no afectada
Versiones corregidas4.3.04.3.3
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
LOURC0D3/CVE-2024-39700-PoC · pvharmo2/gha-lab-0ba60e6456
2
Ver los 2 repositorios de GitHub
LOURC0D3/CVE-2024-39700-PoC
pvharmo2/gha-lab-0ba60e6456

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/jupyterlab/extension-template/security/advisories/GHSA-45gq-v5wm-82wg
Exploithttps://github.com/LOURC0D3/CVE-2024-39700-PoC
Exploithttps://github.com/pvharmo2/gha-lab-0ba60e6456
Otrahttps://github.com/jupyterlab/extension-template/commit/035e78c1c65bcedee97c95bb683abe59c96bc4e6

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.