GHSA-3V63-778V-3MVP
Remote pepper wrap key derived as unsalted HKDF(password) enabling fleet-wide offline password guessing
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-3V63-778V-3MVP 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 remote-pepper feature wraps the server-stored pepper under an AES-GCM key derived as HKDF-SHA256(ikm=password, salt=None, info='openssl_encrypt-pepper-key') for format_version >= 12, or bare SHA-256(password) for older formats, with no AAD. Because the HKDF salt is None (a zero block), the wrap key is identical for a given password across every user and file, so a malicious or compromised keyserver holding the wrapped blobs can precompute a single table and mount a fleet-wide offline dictionary attack; and because the derivation is ~2 SHA-256 per guess (not memory-hard), guessing runs at hardware speed. This lets a hostile pepper server recover the user password that protects the pepper.
Fix (1.4.9, both 1.4.x and 1.5.x lines): a self-describing v2 wrapped-pepper blob ('OEPPWRP2' magic || 16-byte random per-blob salt || 12-byte nonce || AES-GCM ciphertext+tag) derives the wrap key with Argon2id over the password and the per-blob salt (fixed parameters encoded by the magic version, never read from the untrusted blob) and binds the pepper name as AAD. Legacy blobs remain readable. Tracked as gitlab#244.
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-3v63-778v-3mvpLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
