llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · openssl_encrypt

GHSA-J9MH-57CC-665X

HKDF key normalization uses no salt with static info parameter

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a 21 d de la divulgación
Exposición282 dDesde la divulgación, 10 feb 2026, 8:15 a. m.
Detección281 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 1.4.0
Monitoreo
Detectada +1
10 feb 26
3 mar 26
18 nov 26
19 nov 26
10 feb 26
22 abr 26
1 jul 26
10 sept 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-J9MH-57CC-665X divulgada
Remediación Parche 1.4.0 openssl_encrypt · 21 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Severity: HIGH

Summary

The `normalize_to_key_length_secure` function in `openssl_encrypt/modules/crypt_core.py` at lines 2082-2088 and the parallel KDF equivalent `_normalize_bytes` in `parallel_kdf.py` at lines 60-67 both use HKDF with `salt=None` and a static `info=b"v10_xor_normalize"`.

Affected Code
hkdf = HKDF(
    algorithm=hashes.SHA256(),
    length=target_length,
    salt=None,              # No salt
    info=b"v10_xor_normalize",  # Static info
    backend=default_backend(),
)
Impact

Per RFC 5869, when HKDF is used without a salt, a zero-filled salt of hash-length is used. This means all key normalizations use the same HKDF extract phase, reducing entropy extraction when input key material is not uniformly random. The static `info` parameter means normalization is fully deterministic for the same input, reducing margin against multi-target attacks.

Recommended Fix
  • Pass the encryption salt as the HKDF salt parameter
  • Include algorithm-specific context in the `info` parameter (e.g., algorithm name, version)
Fix

Fixed in commit `c2692d7` on branch `releases/1.4.x` — added salt parameter to HKDF key derivation in crypto_secure_memory.py; documented intentional salt=None for deterministic XOR normalization in parallel_kdf.py.

Versiones

Rangos afectados

Afectada Corregida Última
openssl_encrypt< 1.4.0
1.4.0
1.4.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypiopenssl_encrypt
Corregida 1.4.0 21 d 1.4.9 no afectada
Versiones corregidas1.4.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-j9mh-57cc-665x

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.