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.
History

Wed, 30 Jul 2025 00:15:00 +0000

Type Values Removed Values Added
First Time appeared Flutter
Flutter image Picker Android
Weaknesses CWE-22
CPEs cpe:2.3:a:flutter:image_picker_android:*:*:*:*:*:*:*:*
Vendors & Products Flutter
Flutter image Picker Android
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}


Wed, 29 Jan 2025 12:00:00 +0000

Type Values Removed Values Added
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.
Title Unsanitized Filenames in Flutter package image_picker_android Allow File Overwrites
Weaknesses CWE-23
References
Metrics cvssV4_0

{'score': 2.1, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published: 2025-01-29T11:52:05.386Z

Updated: 2025-02-12T19:51:14.154Z

Reserved: 2024-12-03T10:16:06.217Z

Link: CVE-2024-54462

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2025-01-29T12:15:28.627

Modified: 2025-07-30T00:05:12.130

Link: CVE-2024-54462

cve-icon Redhat

No data.