Read the docs
TI-2024-14389 Aliases CVE-2024-21668GHSA-4jh3-6jhv-2mgp

Insertion of Sensitive Information into Log File in react-native-mmkv

Priority LOW 23CWE-532Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-532.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00383 32nd percentileScored 2026-11-07
Fix Fixed react-native-mmkv (mrousavy): 2.11.0react-native-mmkv (npm): 2.11.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mrousavyreact-native-mmkvbefore 2.11.02.11.0Patch availableCNA
—react-native-mmkv (npm)before 2.11.02.11.0Patch availableGHSA-4jh3-6jhv-2mgp
  • react-native-mmkv Vendormrousavy Affected before 2.11.0 Fixed in 2.11.0 Patch available CNA
  • react-native-mmkv (npm) Vendor— Affected before 2.11.0 Fixed in 2.11.0 Patch available GHSA-4jh3-6jhv-2mgp

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mrousavy:react-native-mmkv:*:*:*:*:*:node.js:*:*before 2.11.0Vulnerablemrousavy
  • cpe:2.3:a:mrousavy:react-native-mmkv:*:*:*:*:*:node.js:*:* Versions before 2.11.0 Vulnerable ·mrousavy

Remediation

  • Fix · CNA react-native-mmkv (mrousavy) Fixed in 2.11.0
  • Fix · GHSA-4jh3-6jhv-2mgp react-native-mmkv (npm) Fixed in 2.11.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21668
  2. 2026-10-03 Alias added: GHSA-4jh3-6jhv-2mgp

References

Sources