CVE-2024-21668
MEDIUMMrousavy React-native-mmkv < 2.11.0 - Log Information Exposure
Title source: ruleDescription
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.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/mrousavy/react-native-mmkv/security/advisories/GHSA-4jh3-6jhv-2mgp
Patch x_refsource_misc
https://github.com/mrousavy/react-native-mmkv/commit/a8995ccb7184281f7d168bad3e9987c9bd05f00d
Release Notes x_refsource_misc
https://github.com/mrousavy/react-native-mmkv/releases/tag/v2.11.0
Scores
CVSS v3
4.4
EPSS
0.0033
EPSS Percentile
56.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-532
Status
published
Products (2)
mrousavy/react-native-mmkv
< 2.11.0
npm/react-native-mmkv
0 - 2.11.0npm
Published
Jan 09, 2024
Tracked Since
Feb 18, 2026