llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · openssl_encrypt

GHSA-P9G8-WVH4-2JMX

hsm fido2-test/onlykey-test print the derived hardware pepper in cleartext

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición130 dDesde la divulgación, 12 jul 2026, 7:22 a. m.
Detección129 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.8
Monitoreo
Detectada +1
12 jul 26
18 nov 26
19 nov 26
12 jul 26
14 ago 26
15 sept 26
18 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-P9G8-WVH4-2JMX divulgada
Remediación Parche 1.4.8 openssl_encrypt · 0 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

The 'openssl-encrypt hsm fido2-test' and 'hsm onlykey-test' diagnostic commands unconditionally print the full derived hardware pepper as hex to the terminal (openssl_encrypt/modules/crypt_cli.py, handle_hsm_command). An earlier fix for this finding (H1 [HSM-1], 2026-07-07) landed in modules/hsm_cli.py, which is not wired into the CLI entry point, so the reachable code path kept printing the pepper.

Impact is limited: the pepper is derived from a random per-invocation test salt, so the printed value cannot be used to decrypt any real file (peppers are salt-bound). It is nevertheless hardware-derived key material written to stdout/stderr, where it can end up in terminal scrollback, session recordings, or CI logs.

Also covered by the fix: the asymmetric_core __main__ self-test printed a random throwaway test password on roundtrip failure, and the fido2_pepper plugin logged raw prf_data at debug level outside the secret-redaction chokepoint.

Fixed in 1.4.8 by removing the hex dumps (length and success status are still reported) and routing plugin debug output through the redaction layer.

---
Progress: commit d69ecf25 (feature/hsm-test-pepper-leak-14x) — live pepper hex dumps removed from crypt_cli.py fido2-test/onlykey-test (length-only); fido2_pepper plugin no longer interpolates raw prf_data into debug logs or error messages; asymmetric_core self-test prints lengths only. Regression tests extended to live paths + challenge-response plugins. Crypto-reviewer: SHIP. Ships with 1.4.8.

Progress: commit 75c92bd5 (1.5.x port, merged as 5a6a7cd1) — both maintenance lines fixed. Crypto-reviewer: SHIP on both. Fix ships in 1.4.8 and 1.5.0.

Versiones

Rangos afectados

Afectada Corregida Última
openssl_encrypt≤ 1.4.7
1.4.7
1.4.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypiopenssl_encrypt
Corregida 1.4.8 0 d 1.4.9 no afectada
Versiones corregidas1.4.8
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-p9g8-wvh4-2jmx

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