Vulnerability GHSA-p9g8-wvh4-2jmx

Low Risk
LOW RISK
CVSS Score: 3.0
Score Range: < 4.0
Low severity vulnerabilities (CVSS < 4.0). Hygiene issues that can accumulate but pose lower immediate risk.
16 hours ago
December 03, 2026 at 10:59 PM UTC
openssl-encrypt HSM diagnostics and debug logging expose hardware-derived data
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.7
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.7

Summary

openssl-encrypt HSM diagnostics and debug logging expose hardware-derived data

Details

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.

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. Ships with 1.4.8.

Commit 75c92bd5 (1.5.x port, merged as 5a6a7cd1) — both maintenance lines fixed. Fix ships in 1.4.8 and 1.5.0.

Related Vulnerabilities

Other vulnerabilities affecting the same packages

Medium Risk
16 hours ago
openssl-encrypt sequential XOR cancels the last key-derivation stage
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.7 GHSA-vxf9-vwp6-2w43
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.7 GHSA-vxf9-vwp6-2w43
Unknown
3 months ago
No summary available
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.8 PYSEC-2026-3801
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.8 PYSEC-2026-3801
Unknown
3 months ago
No summary available
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.8 PYSEC-2026-3802
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.8 PYSEC-2026-3802
Unknown
3 months ago
No summary available
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.8 PYSEC-2026-3803
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.8 PYSEC-2026-3803
Unknown
3 months ago
No summary available
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.8 PYSEC-2026-3965
0.2.2 - 0.5.1 and 0.5.3 - 0.8.2 and 0.9.2 - 1.4.0b3 and 1.4.0b4 and 1.4.0b5 and 1.4.0b6 and 1.4.0b7 and 1.4.0b8 and 1.4.0 - 1.4.1rc2 and 1.4.1 - 1.4.2 and 1.4.4 - 1.4.8 PYSEC-2026-3965
View all vulnerabilities for these packages

Impacted packages

Timeline

Published
16 hours ago
December 03, 2026 at 10:59 PM UTC
Fixed (1.4.8)
4 months ago
July 12, 2026 at 12:33 PM UTC
Last Modified
16 hours ago
December 03, 2026 at 11:15 PM UTC