{"id":"GHSA-pmgm-h3cc-m4hj","summary":"React Native Document Picker Directory Traversal vulnerability","details":"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.","aliases":["CVE-2024-25466"],"modified":"2025-03-27T18:38:48Z","published":"2024-02-16T09:30:26Z","database_specific":{"nvd_published_at":"2024-02-16T09:15:08Z","cwe_ids":["CWE-26"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-02-16T23:37:06Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25466"},{"type":"WEB","url":"https://github.com/rnmods/react-native-document-picker/pull/698"},{"type":"WEB","url":"https://github.com/rnmods/react-native-document-picker/commit/1ae7cb217d23a551bff86ad10c7ae6f5e074490f"},{"type":"WEB","url":"https://github.com/rnmods/react-native-document-picker/commit/ad0b5e58252eba56a5a3b22311a66ffa5e65cffe"},{"type":"WEB","url":"https://github.com/FixedOctocat/CVE-2024-25466/tree/main"},{"type":"PACKAGE","url":"https://github.com/rnmods/react-native-document-picker"},{"type":"WEB","url":"https://github.com/rnmods/react-native-document-picker/blob/0be5a70c3b456e35c2454aaf4dc8c2d40eb2ab47/android/src/main/java/com/reactnativedocumentpicker/RNDocumentPickerModule.java"},{"type":"WEB","url":"https://github.com/rnmods/react-native-document-picker/releases/tag/v8.2.2"}],"affected":[{"package":{"name":"react-native-document-picker","ecosystem":"npm","purl":"pkg:npm/react-native-document-picker"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.0.0"},{"fixed":"9.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-pmgm-h3cc-m4hj/GHSA-pmgm-h3cc-m4hj.json"}},{"package":{"name":"react-native-document-picker","ecosystem":"npm","purl":"pkg:npm/react-native-document-picker"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.2.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-pmgm-h3cc-m4hj/GHSA-pmgm-h3cc-m4hj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}