Descrizione
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.
Tipo di vulnerabilità
CWE-312
Informazioni sensibili conservate in chiaro
Il prodotto conserva informazioni sensibili senza cifrarle, in una risorsa che potrebbe essere accessibile ad altri.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione |
Come si previene
Sviluppo · Configurazione del sistema · Esercizio
When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to encrypt the data at rest.
Sviluppo · Configurazione del sistema · Esercizio
In some systems/environments such as cloud, the use of double encryption (at both the software and hardware layer) might be required, and the developer might be solely responsible for both layers, instead of shared responsibility with the administrator of the broader system/environment.
Tutte le 848 CVE di tipo CWE-312, con andamento e prevenzione