GHSA-7C3Q-GP4V-Q29Q
Unkeyed SHA-256 of the plaintext stored in the cleartext file header is a plaintext-confirmation oracle
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-7C3Q-GP4V-Q29Q 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 |
Every encrypted file stored hashes.original_hash = SHA-256(plaintext) in its cleartext metadata header. Because the hash is unkeyed and readable without the password, anyone holding the file can confirm a guessed or brute-forced plaintext offline by hashing the candidate and comparing, and can fingerprint identical plaintexts across separately-encrypted files (CWE-311). The value was cryptographically redundant: every reachable cipher path already authenticates the plaintext (AEAD tag, Fernet HMAC, Camellia encrypt-then-MAC, streaming trailer HMAC, or the v7 AES-GCM + ML-DSA signature) before releasing it.
Fix (1.4.9, both 1.4.x and 1.5.x lines): the unkeyed plaintext hash is no longer written on any path; decrypt remains tolerant of files written by earlier versions that still carry it (the checks are presence-guarded). Files already encrypted by an affected release keep the field until re-encrypted. Tracked as gitlab#245.
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-7c3q-gp4v-q29qLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
