GHSA-RV6W-7HQ9-PR74
Decrypt gates KDF memory but not time, so crafted iteration counts wedge the CPU before authentication
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-RV6W-7HQ9-PR74 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 decrypt path estimates key-derivation cost from attacker-controlled file metadata and refuses to proceed above an 8 GiB memory ceiling (gitlab#128), but it never enforces a ceiling on estimated TIME. A crafted file can declare huge KDF iteration counts with tiny memory -- for example argon2 time_cost/rounds = 231 with memory_cost = 8, or a hash round count of 231 -- which passes the memory ceiling yet pins a CPU core for an unbounded time before the password is ever checked (estimated ~1600 s for the hash case and ~4e16 s for argon2, versus ~4 s for the heaviest shipped preset). It is silent under --quiet/--no-estimate and has no escape in unattended/batch decryption.
Fix (1.4.9, both 1.4.x and 1.5.x lines): a hard time ceiling (120 s, overridable with --allow-high-kdf-cost or an interactive confirmation, enforced independently of the display flags) is applied alongside the memory ceiling, and the raw KDF iteration-count fields are bounded by a maximum in the metadata schema. Tracked as gitlab#247.
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-rv6w-7hq9-pr74Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
