Insertion of Sensitive Information into Log File Affecting react-native-mmkv package, versions <2.11.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-REACTNATIVEMMKV-6148659
  • published9 Jan 2024
  • disclosed9 Jan 2024
  • creditUnknown

Introduced: 9 Jan 2024

CVE-2024-21668  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade react-native-mmkv to version 2.11.0 or higher.

Overview

react-native-mmkv is a The fastest key/value storage for React Native. ~30x faster than AsyncStorage! Works on Android, iOS and Web.

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File. An attacker can obtain the encryption key by accessing the Android system log if Android Debugging Bridge (ADB) is enabled on the device.

CVSS Scores

version 3.1