rnmods/react-native-document-picker · Security
React Native Document Picker Directory Traversal vulnerability
- GHSA ID
- GHSA-pmgm-h3cc-m4hj
- CVE ID
- CVE-2024-25466
- Severity
- high
- Published
- Updated
- CVSS
- 7.3 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
- CVSS v3
- 7.3 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
- CVSS v4
- 7.2 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-26 · Path Traversal: '/dir/../filename'
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 ↗