Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| jahlives / openssl_encrypt | affected 0 before 1.4.9; unaffected 1.4.9 |
CWE
CWE-312
References
- https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-r8gw-6hfj-98jw
- https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-plaintext-private-key-storage
ADP enrichment
No English description supplied.
No references supplied.