CVE-2023-31290: Weak RNG
Trust Wallet Core before 3.1.1, as used in the Trust Wallet browser extension before 0.0.183, allows theft of funds because the entropy is 32 bits, as exploited in the wild in December 2022 and March 2023. This occurs because the mt19937 Mersenne Twister takes a single 32-bit value as an input seed, resulting in only four billion possible mnemonics. The affected versions of the browser extension are 0.0.172 through 0.0.182. To steal funds efficiently, an attacker can identify all Ethereum addresses created since the 0.0.172 release, and check whether they are Ethereum addresses that could have been created by this extension. To respond to the risk, affected users need to upgrade the product version and also move funds to a new wallet address.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2023-31290?
CVE-2023-31290 has a high severity risk due to its potential to allow fund theft.
How do I fix CVE-2023-31290?
To fix CVE-2023-31290, update Trust Wallet Core to version 3.1.1 or later and Trust Wallet browser extension to version 0.0.183 or later.
What types of software are affected by CVE-2023-31290?
CVE-2023-31290 affects Trust Wallet Core versions prior to 3.1.1 and Trust Wallet browser extension versions between 0.0.172 and 0.0.183.
What is the root cause of CVE-2023-31290?
The root cause of CVE-2023-31290 is a 32-bit entropy limitation in the mt19937 Mersenne Twister algorithm, which compromises security.
How was CVE-2023-31290 exploited?
CVE-2023-31290 was exploited in the wild, leading to unauthorized fund theft in December 2022 and March 2023.