GHSA-8JX3-27QF-3P97
Portable USB: integrity check misses added/autorun files and uses a fixed hardcoded KDF salt
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-8JX3-27QF-3P97 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 |
Two medium-severity weaknesses in the portable USB drive feature (gitlab#132, scan findings F13 + F14/F19). The module's threat model treats the removable drive as untrusted (attacker has physical write access).
F13: USBDriveCreator._verify_integrity_file only checks files listed in the manifest, so files ADDED to the drive — including a root-level autorun payload (autorun.*) — are not detected and integrity verification still passes.
F14/F19: a globally-constant, source-embedded KDF salt (_LEGACY_FIXED_SALT) is used to derive the drive encryption key (and in the hash-manifest fallback) for any drive lacking a per-drive salt file, defeating the salt's precomputation resistance — an attacker with such a drive can run an offline rainbow-table attack against the known constant salt.
Fixes (compat-safe, both maintenance lines): F13 makes integrity verification bidirectional (detects additions) and covers root-level autorun.*; F14/F19 generates and stores a unique random per-drive salt for new drives, keeping the legacy fixed-salt fallback only for existing drives without a salt file.
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-8jx3-27qf-3p97Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
