llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · openssl_encrypt

GHSA-9PGJ-V69P-Q586

Plugin import guard blocked modules not synchronized with AST analyzer

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

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 1.4.0
Monitoreo
Detectada +1
10 feb 26
3 mar 26
18 nov 26
20 nov 26
10 feb 26
22 abr 26
1 jul 26
10 sept 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-9PGJ-V69P-Q586 divulgada
Remediación Parche 1.4.0 openssl_encrypt · 21 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Severity: HIGH

Summary

The `PluginImportGuard` in `openssl_encrypt/modules/plugin_system/plugin_sandbox.py` at lines 69-94 blocks a different set of modules than the AST analyzer's `DANGEROUS_MODULES` set in `plugin_ast_analyzer.py` at lines 63-84.

Details

Modules blocked by AST analyzer but NOT by the import guard at runtime:
- `sys` — provides `sys.modules` to reach any imported module
- `shutil` — file operations
- `multiprocessing` — process spawning
- `importlib` — dynamic imports
- `pickle` — arbitrary code execution via `__reduce__`
- `signal`, `resource`, `platform`, `pipes`, `pty`, `fcntl`, `pwd`, `grp`

The import guard's `ALWAYS_BLOCKED` only contains: `ctypes`, `__builtin__`, `__builtins__`, `subprocess`, `os`, `socket`.

Impact

If a plugin bypasses AST analysis (via string obfuscation, encoding, or `__import__` indirection), the runtime import guard provides no protection for most dangerous modules.

Recommended Fix
  • Synchronize the import guard's blocked modules with the AST analyzer's `DANGEROUS_MODULES`
  • Add `sys`, `shutil`, `multiprocessing`, `importlib`, `pickle` to `ALWAYS_BLOCKED`
Fix

Fixed in commit `e0c999e` on branch `releases/1.4.x` — created shared plugin_security_constants.py as single source of truth for blocked modules; both AST analyzer and runtime import guard now reference the same set.

Versiones

Rangos afectados

Afectada Corregida Última
openssl_encrypt< 1.4.0
1.4.0
1.4.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypiopenssl_encrypt
Corregida 1.4.0 21 d 1.4.9 no afectada
Versiones corregidas1.4.0
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-9pgj-v69p-q586

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