Vulnerability

CVE-2024-21668

mediumCVSS 3.1 4.9Published 9 Jan 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Mrousavy react-native-mmkv

Weakness type

References

  • github.com /mrousavy/react-native-mmkv/commit/a8995ccb7184281f7d168bad…
  • github.com /mrousavy/react-native-mmkv/releases/tag/v2.11.0
  • github.com /mrousavy/react-native-mmkv/security/advisories/GHSA-4jh3-6…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning