GHSA-539P-FXF4-7FV8
'info' prints untrusted file metadata without escaping terminal control characters
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-539P-FXF4-7FV8 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 |
print_file_info (the `info` command) printed metadata fields -- algorithm, encryption_data, cipher_chain, layer_info[].cipher, hkdf_hash, salt, original_hash/encrypted_hash, pqc.public_key, hsm_plugin, pepper_plugin, pepper_name, KDF display names/params, and every v1/v2 field -- to the terminal with no sanitize_for_display(). The v14 schema leaves encryption additionalProperties:true and the JSON validator only scans raw source text, so a \u001b escape in a crafted file survives decoding and is emitted raw. Cursor-movement / erase-line / bidi bytes in a field let a crafted file repaint the info output -- including forging the Fingerprint/verification line -- on the command whose purpose is judging an untrusted file.
Fix (1.4.9): every metadata-derived value printed by print_file_info, and the reconstructed-CLI printer line, now passes through sanitize_for_display(), which escapes C0/C1/DEL/bidi controls. Affects both the 1.4.x and 1.5.x lines. Tracked as gitlab#236.
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-539p-fxf4-7fv8Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
