llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · flowise

GHSA-5CPH-WVM9-45GJ

Flowise OverrideConfig security vulnerability

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -8 d de la divulgación
Exposición728 dDesde la divulgación, 21 nov 2024, 5:21 p. m.
Detección725 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 2.1.4
Monitoreo
Detectada
13 nov 24
21 nov 24
14 sept 26
17 nov 26
20 nov 26
13 nov 24
17 may 25
17 nov 25
20 may 26
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.1.4 flowise · -8 d desde divulgación
Divulgación Publicada GHSA-5CPH-WVM9-45GJ divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

### Impact
Flowise allows developers to inject configuration into the Chainflow during execution through the `overrideConfig` option. This is supported in both the frontend web integration and the backend Prediction API.

This has a range of fundamental issues that are a major security vulnerability.
While this feature is intentional, it should have strong protections added and be disabled by default.

These issues include:
1. Remote code execution. While inside a sandbox this allows for
1. Sandbox escape
2. DoS by crashing the server
3. SSRF
2. Prompt Injection, both System and User
1. Full control over LLM prompts
2. Server variable and data exfiltration
And many many more such as altering the flow of a conversation, prompt exfiltration via LLM proxying etc.

These issues are self-targeted and do not persist to other users but do leave the server and business exposed.
All issues are shown with the API but also work with the web embed.

### Workarounds
- `overrideConfig` should be disabled by default
- `overrideConfig` should have an explicit allow list of variables that are allowed to be modified. This way the user opts-in to where modifications can be made.
- `vm2` and any forks of it should be removed as in the authors own words, "fixing the vulnerability seems impossible". The recommended replacement is https://www.npmjs.com/package/isolated-vm

Versiones

Rangos afectados

Afectada Corregida Última
flowise< 2.1.4
2.1.4
3.1.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmflowise
Corregida 2.1.4 -8 d 3.1.4 no afectada
Versiones corregidas2.1.4
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-58351
Otrahttps://github.com/FlowiseAI/Flowise/security/advisories/GHSA-5cph-wvm9-45gj
Otrahttps://github.com/FlowiseAI/Flowise
Otrahttps://www.vulncheck.com/advisories/flowise-remote-code-execution-via-overrideconfig-parameter

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