Path Traversal Affecting react-native-document-picker package, versions <9.1.1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (11th 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 Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-REACTNATIVEDOCUMENTPICKER-6249446
  • published16 Feb 2024
  • disclosed16 Feb 2024
  • creditEgor Filatov

Introduced: 16 Feb 2024

CVE-2024-25466  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade react-native-document-picker to version 9.1.1 or higher.

Overview

react-native-document-picker is an A react native interface to access documents from dropbox, google drive, iCloud...

Affected versions of this package are vulnerable to Path Traversal due to improper input validation in the Android library component. A local attacker can execute arbitrary code by supplying a crafted script.

References

CVSS Scores

version 3.1