Live threats

All CVEs / Mrousavy

CVE-2024-21668Mrousavy React-native-mmkv

Medium 4.9

Priority
29
CVSS 3.1
4.9
EPSS
0.4%
probability of exploitation in 30 days · percentile 30
Auth required
Yes
Published
Jan 9, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-532
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

What happens

react-native-mmkv is a library that allows easy use of MMKV inside React Native applications. Before version 2.11.0, the react-native-mmkv logged the optional encryption key for the MMKV database into the Android system log. The key can be obtained by anyone with access to the Android Debugging Bridge (ADB) if it is enabled in the phone settings. This bug is not present on iOS devices. By logging the encryption secret to the system logs, attackers can trivially recover the secret by enabling ADB and undermining an app's thread model. This issue has been patched in version 2.11.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for React-native-mmkv.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm react-native-mmkv < 2.11.0 2.11.0 npm install react-native-mmkv@2.11.0

Per OSV / GitHub Advisories (GHSA-4jh3-6jhv-2mgp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mrousavyreact-native-mmkv< 2.11.0

Official sources

References

Links published by the sources. Open them with care.