Vulnerability · Published Jan 29, 2025 · Assigned by Google
CVE-2024-54462Unsanitized Filenames in Flutter package image_picker_android Allow File Overwrites
Low 2.1
In plain English
A low-severity security flaw in image_picker_android from Flutter. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Flutter | image_picker_android | 0.8.5+6 – through 0.8.12+17 |
Weakness: CWE-23 · Vector: CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:H/SA:H