GHSA-WXX9-P55F-WM34
Built-in plugin trust shortcut covers top-level plugins/ and unknown dirs, executing unsigned plugins
Texto original en inglés · Ver en español
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-WXX9-P55F-WM34 divulgada | |
| Remediación | Parche 1.4.9 | openssl-encrypt · 1 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
_is_builtin_plugin used a denylist: it treated every file under the package plugins/ directory as a trusted built-in (skipping signature verification, the AST scan and the TOCTOU hash pin) EXCEPT the three user/community/official subdirectories. A plugin dropped directly in plugins/ (top-level plugins/*.py) or under any new/unknown subdirectory was therefore trusted and exec()'d in the CLI process -- which handles passwords, keys and plaintext -- on the next list-plugins, encrypt --hsm, or decryption of a file whose metadata names an HSM plugin. PLUGIN_DEVELOPMENT.md directed third-party authors to place their plugin in exactly openssl_encrypt/plugins/ (top-level), so following the documentation bypassed the ENFORCE-by-default plugin signature policy, giving arbitrary code execution from an unsigned plugin.
Fix (1.4.9): _is_builtin_plugin now uses an allowlist -- only the shipped built-in plugin packages are trusted; top-level plugins/*.py and every unknown subdirectory (including the advertised drop directories) go through the full signature + AST + hash-pin gate. The docs now direct third-party plugins to plugins/user. Affects both the 1.4.x and 1.5.x lines. Tracked as gitlab#231.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypiopenssl-encrypt |
Corregida | 1.4.9 | 1 d | 1.4.9 no afectada |
1.4.9Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-wxx9-p55f-wm34Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
