GHSA-783H-8Q2F-F762
Pre-authentication memory-exhaustion DoS via unbounded Argon2 memory_cost in identity-file protection block
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-783H-8Q2F-F762 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 |
PasswordProtectionConfig.from_dict reads memory_cost from an identity file's protection block with no upper bound, and _derive_key runs Argon2 (hash_secret_raw) with it before the AEAD tag authenticates the private key. A tampered or attacker-authored identity file with a huge memory_cost OOM-crashes the host on identity unlock, pre-authentication (CWE-400). Same class as GHSA-7894-5gw8-69hr on the identity-file surface. Exploitability is lower (requires write access to the local identity store or loading a full attacker-authored identity). Fixed by clamping the Argon2 cost parameters (memory_cost <= 2 GiB, time_cost <= 64, parallelism <= 16) before derivation; legitimate identities use the 64 MB default. Tracked privately as gitlab#129.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
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-783h-8q2f-f762Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
