Vulnerability Description
The cryptocurrency wallet entropy seeding mechanism used in Libbitcoin Explorer 3.0.0 through 3.6.0 is weak, aka the Milk Sad issue. The use of an mt19937 Mersenne Twister PRNG restricts the internal entropy to 32 bits regardless of settings. This allows remote attackers to recover any wallet private keys generated from "bx seed" entropy output and steal funds. (Affected users need to move funds to a secure new cryptocurrency wallet.) NOTE: the vendor's position is that there was sufficient documentation advising against "bx seed" but others disagree. NOTE: this was exploited in the wild in June and July 2023.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libbitcoin | Libbitcoin Explorer | >= 3.0.0, <= 3.6.0 |
Related Weaknesses (CWE)
References
- https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08Third Party Advisory
- https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08Third Party Advisory
- https://github.com/libbitcoin/libbitcoin-explorer/wiki/CVE-2023-39910
- https://github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5ccThird Party Advisory
- https://milksad.info/disclosure.htmlThird Party Advisory
- https://news.ycombinator.com/item?id=37054862Third Party Advisory
- https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08Third Party Advisory
- https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08Third Party Advisory
- https://github.com/libbitcoin/libbitcoin-explorer/wiki/CVE-2023-39910
- https://github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5ccThird Party Advisory
- https://milksad.info/disclosure.htmlThird Party Advisory
- https://news.ycombinator.com/item?id=37054862Third Party Advisory
FAQ
What is CVE-2023-39910?
CVE-2023-39910 is a vulnerability with a CVSS score of 7.5 (HIGH). The cryptocurrency wallet entropy seeding mechanism used in Libbitcoin Explorer 3.0.0 through 3.6.0 is weak, aka the Milk Sad issue. The use of an mt19937 Mersenne Twister PRNG restricts the internal ...
How severe is CVE-2023-39910?
CVE-2023-39910 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-39910?
Check the references section above for vendor advisories and patch information. Affected products include: Libbitcoin Libbitcoin Explorer.