openssl_encrypt before 1.4.9 Plaintext Private Key Storage
jahlives openssl_encrypt
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openssl-encrypt PyPI |
|
|
Original description
openssl_encrypt (pip package openssl-encrypt) versions 1.4.8 and earlier store an mTLS client private key in cleartext within a world-readable (0644) SharedPreferences file via the desktop GUI's Settings screen 'combined certificate and private key' PEM field. A local attacker with file system access can read the exposed private key. Version 1.4.9 writes the PEM to a dedicated 0600 file, keeps only its path in SharedPreferences, and migrates/scrubs existing cleartext values.
From the CVE record · VulnCheck