GitHub Advisory Database
GHSA-g29v-q6h7-76wh
electerm's encrypt method not safe enough
Details
Impact
_Insecure sync encryption: deterministic AES-192-CBC with a fixed zero IV, constant KDF salt, and no MAC leads to confidentiality and integrity failures for synced bookmark/profile data. Attackers can crack common passwords across installs and perform undetected ciphertext bit-flips to alter config/bookmarks._
Patches
- https://github.com/electerm/electerm/commit/9dd8295e37d53396b980cd45dfc5ed11ad79b937
Workarounds
- No
References
- Report / credit: https://github.com/Curly-Haired-Baboon
- Electerm releases: https://github.com/electerm/electerm/releases
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | electerm | All versions before 3.9.5 (fixed in 3.9.5) |