expo-clipboard@0.0.0-canary-20231123-1b19f96 vulnerabilities

Provides an interface for getting and setting Clipboard content on Android, iOS and Web.

Direct Vulnerabilities

Known vulnerabilities in the expo-clipboard package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • M
Relative Path Traversal

expo-clipboard is an ExpoClipboard standalone module

Affected versions of this package are vulnerable to Relative Path Traversal due to improper access control, which made it possible to read from a wrong root directory.

Note: It is not possible to get outside of the cache directory with this method, so this can only be used for files in the cache directory of the app which are also located in a directory whose name is prefixed with .clipboard - .

How to fix Relative Path Traversal?

Upgrade expo-clipboard to version 5.0.0 or higher.

<5.0.0