CVE-2024-21668CWE-532

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

Medium · published January 9, 2024

CVSS v3.1
4.4
EPSS
0%
Percentile
30.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.4 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00380 · 30.8th percentile
Weakness
CWE-532 · Insertion of Sensitive Information into Log File
Published
2024-01-09T19:05Z
EPSS history
Timeline
  • 09 JAN 19:05Z
    Insertion of Sensitive Information into Log File in react-native-mmkv
    cvelistv5