CVE-2024-54462 Details
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.
A vulnerability exists in the image_picker Android package, specifically in versions 0.8.5+6 through 0.8.12+17. The issue arises because the filenames generated by the image_picker are not properly sanitized, creating a risk when interacting with malicious document providers. This lack of sanitization may enable a user with a harmful document provider to select an image file that could overwrite internal files in the app's cache.
Users are advised to update to version 0.8.12+18 or later of the image_picker_android package, which includes the necessary fixes for this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/flutter/packages/security/advisories/GHSA-98v2-f47x-89xw | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-23 | Relative Path Traversal | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| flutter image picker android | >= 0.8.5\+6, < 0.8.12\+18 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2025 | Initial Analysis | [email protected] |
| Jan 29, 2025 | New CVE Received | [email protected] |