CVE-2024-54462 Unsanitized Filenames in Flutter package image_picker_android Allow File Overwrites
LowCVSS 2.1
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
The file names constructed within image_picker are missing sanitization checks leaving them vulnerable to malicious document providers. This may result in cases where a user with a malicious document provider installed can select an image file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.8.12+18. It is recommended to update to the latest version of image_picker_android that contains the changes to address this vulnerability.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Flutter image_picker_android | >= 0.8.5+6, <= 0.8.12+17; >= 0.8.5\+6, < 0.8.12\+18 | 0.8.12\+18 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Flutter image_picker_android | >= 0.8.5+6, <= 0.8.12+17 | No fix listed |
| Flutter image_picker_android | >= 0.8.5\+6, < 0.8.12\+18 | 0.8.12\+18 |
References
- github.com vendor-advisory