CVE-2023-39910

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libbitcoin:libbitcoin_explorer:*:*:*:*:*:*:*:*

History

07 Sep 2023, 07:15

Type Values Removed Values Added
References
  • (MISC) https://github.com/libbitcoin/libbitcoin-explorer/wiki/CVE-2023-39910 -

22 Aug 2023, 22:15

Type Values Removed Values Added
First Time Libbitcoin
Libbitcoin libbitcoin Explorer
References (MISC) https://news.ycombinator.com/item?id=37054862 - (MISC) https://news.ycombinator.com/item?id=37054862 - Third Party Advisory
References (MISC) https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/utility.cpp#L78 - (MISC) https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/utility.cpp#L78 - Third Party Advisory
References (MISC) https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/commands/seed.cpp#L44 - (MISC) https://github.com/libbitcoin/libbitcoin-explorer/blob/20eba4db9a8a3476949d6fd08a589abda7fde3e3/src/commands/seed.cpp#L44 - Third Party Advisory
References (MISC) https://milksad.info/disclosure.html - (MISC) https://milksad.info/disclosure.html - Third Party Advisory
References (MISC) https://github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5cc746b82a6afe64/src/crypto/pseudo_random.cpp#L66C12-L78 - (MISC) https://github.com/libbitcoin/libbitcoin-system/blob/a1b777fc51d9c04e0c7a1dec5cc746b82a6afe64/src/crypto/pseudo_random.cpp#L66C12-L78 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-338
CPE cpe:2.3:a:libbitcoin:libbitcoin_explorer:*:*:*:*:*:*:*:*

09 Aug 2023, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-08-09 03:15

Updated : 2023-12-10 15:14


NVD link : CVE-2023-39910

Mitre link : CVE-2023-39910

CVE.ORG link : CVE-2023-39910


JSON object : View

Products Affected

libbitcoin

  • libbitcoin_explorer
CWE
CWE-338

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)