GHSA-JWFM-99H7-2W5X
Attacker-controlled key_id printed unescaped during decrypt auto-detection (terminal injection)
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-JWFM-99H7-2W5X 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 |
detect_encryption_type parsed an encrypted file's header with a bare json.loads and returned each asymmetric.recipients[].key_id; on the 'no matching identity' decrypt path these were printed to stderr with no escaping. Literal ESC/cursor-movement bytes in a crafted key_id let a hostile file repaint the error output -- forging the Fingerprint/verification block that is the only out-of-band authenticity readout the design offers. The recipient list was also unbounded.
Fix (1.4.9): the printed fingerprint is routed through sanitize_for_display(); the recipient list read from the untrusted header is capped; and the header is parsed through a size/depth/control-character bounded security scan before json.loads instead of a bare json.loads. Affects both the 1.4.x and 1.5.x lines. Tracked as gitlab#237.
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-jwfm-99h7-2w5xLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
