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

    Threat Intelligence

    EPSS
    0.04% (10th 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 ID SNYK-JS-REACTNATIVEDOCUMENTPICKER-6249446
  • published 16 Feb 2024
  • disclosed 16 Feb 2024
  • credit Egor Filatov

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
Expand this section

Snyk

Recommended
7.3 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    High
  • Availability (A)
    High