CVE-2024-21668

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mrousavy:react-native-mmkv:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 08:54

Type Values Removed Values Added
References () https://github.com/mrousavy/react-native-mmkv/commit/a8995ccb7184281f7d168bad3e9987c9bd05f00d - Patch () https://github.com/mrousavy/react-native-mmkv/commit/a8995ccb7184281f7d168bad3e9987c9bd05f00d - Patch
References () https://github.com/mrousavy/react-native-mmkv/releases/tag/v2.11.0 - Release Notes () https://github.com/mrousavy/react-native-mmkv/releases/tag/v2.11.0 - Release Notes
References () https://github.com/mrousavy/react-native-mmkv/security/advisories/GHSA-4jh3-6jhv-2mgp - Vendor Advisory () https://github.com/mrousavy/react-native-mmkv/security/advisories/GHSA-4jh3-6jhv-2mgp - Vendor Advisory
CVSS v2 : unknown
v3 : 4.9
v2 : unknown
v3 : 4.4

16 Jan 2024, 20:37

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-09 19:15

Updated : 2024-11-21 08:54


NVD link : CVE-2024-21668

Mitre link : CVE-2024-21668

CVE.ORG link : CVE-2024-21668


JSON object : View

Products Affected

mrousavy

  • react-native-mmkv
CWE
CWE-532

Insertion of Sensitive Information into Log File