Inadequate Encryption Strength Affecting trustwalletcore package, versions >=2.8.0, <3.1.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.19% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inadequate Encryption Strength vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-COCOAPODS-TRUSTWALLETCORE-5489779
  • published1 May 2023
  • disclosed1 May 2023
  • creditUnknown

Introduced: 1 May 2023

CVE-2023-31290  (opens in a new tab)
CWE-326  (opens in a new tab)

How to fix?

Upgrade TrustWalletCore to version 3.1.1 or higher.

Overview

TrustWalletCore is a mobile-focused library implementing low-level cryptographic wallet functionality for a high number of blockchains

Affected versions of this package are vulnerable to Inadequate Encryption Strength in its mt19937 seed generation, which has only 32 bits of entropy, resulting in only four billion possible mnemonics. Only addresses created via the browser extension are affected, and only between extension versions 0.0.172 and 0.0.182 (i.e. between November 14th and November 23rd, 2022).

CVSS Scores

version 3.1