CVE-2024-25466: React Native Document Picker Directory Traversal vulnerability
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.
Published Feb 16, 2024 · Updated Aug 19, 2024
Affected packages
react-native-document-picker
- Ecosystem
- npm
- Affected
- >= 9.0.0, < 9.1.1
- Fixed in
- 9.1.1
- Check
npm ls react-native-document-picker
react-native-document-picker
- Ecosystem
- npm
- Affected
- < 8.2.2
- Fixed in
- 8.2.2
- Check
npm ls react-native-document-picker
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to vonovak.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-25466
- 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/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
- https://github.com/advisories/GHSA-pmgm-h3cc-m4hj
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
