Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mrousavy | React-Native-Mmkv | < 2.11.0 |
Related Weaknesses (CWE)
References
- https://github.com/mrousavy/react-native-mmkv/commit/a8995ccb7184281f7d168bad3e9Patch
- https://github.com/mrousavy/react-native-mmkv/releases/tag/v2.11.0Release Notes
- https://github.com/mrousavy/react-native-mmkv/security/advisories/GHSA-4jh3-6jhvVendor Advisory
- https://github.com/mrousavy/react-native-mmkv/commit/a8995ccb7184281f7d168bad3e9Patch
- https://github.com/mrousavy/react-native-mmkv/releases/tag/v2.11.0Release Notes
- https://github.com/mrousavy/react-native-mmkv/security/advisories/GHSA-4jh3-6jhvVendor Advisory
FAQ
What is CVE-2024-21668?
CVE-2024-21668 is a vulnerability with a CVSS score of 4.4 (MEDIUM). 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...
How severe is CVE-2024-21668?
CVE-2024-21668 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21668?
Check the references section above for vendor advisories and patch information. Affected products include: Mrousavy React-Native-Mmkv.