high7.3
CVE-2024-25466
React Native Document Picker Directory Traversal vulnerability
Impact
Directory Traversal vulnerability in React Native Document Picker before 8.2.2 and 9.x before 9.1.1 allows a local attacker to execute arbitrary code via a crafted script to the Android library component.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | react-native-document-picker | >= 9.0.0, < 9.1.1 | 9.1.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| React-Native-Documents | Document Picker | before 9.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/FixedOctocat/CVE-2024-25466/tree/main
- https://github.com/rnmods/react-native-document-picker/blob/0be5a70c3b456e35c2454aaf4dc8c2d40eb2ab47/android/src/main/java/com/reactnativedocumentpicker/RNDocumentPickerModule.java
- https://github.com/advisories/GHSA-pmgm-h3cc-m4hj
- https://nvd.nist.gov/vuln/detail/CVE-2024-25466
- https://github.com/rnmods/react-native-document-picker/commit/1ae7cb217d23a551bff86ad10c7ae6f5e074490f
- https://github.com/rnmods/react-native-document-picker/pull/698
- https://github.com/rnmods/react-native-document-picker/commit/ad0b5e58252eba56a5a3b22311a66ffa5e65cffe
- https://github.com/rnmods/react-native-document-picker/releases/tag/v8.2.2