CVE-2024-54461

Unsanitized Filenames in Flutter package file_selector_android Allow File Overwrites

Published Jan 29, 2025 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
Description
The file names constructed within file_selector 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 a document file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.5.1+12. It is recommended to update to the latest version of file_selector_android that contains the changes to address this vulnerability.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-52572 The file names constructed within file_selector 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 a document file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.5.1+12. It is recommended to update to the latest version of file_selector_android that contains the changes to address this vulnerability.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Flutter
Flutter file Selector Android
Weaknesses CWE-22
CPEs cpe:2.3:a:flutter:file_selector_android:*:*:*:*:*:*:*:*
Vendors & Products Flutter
Flutter file Selector 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'}

Type Values Removed Values Added
Description The file names constructed within file_selector 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 a document file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.5.1+12. It is recommended to update to the latest version of file_selector_android that contains the changes to address this vulnerability.
Title Unsanitized Filenames in Flutter package file_selector_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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Feb 12, 2025, 7:51 PM
Reserved
Dec 3, 2024, 10:16 AM
Status
Analyzed
Published
Jan 29, 2025, 12:15 PM
Modified
Jun 17, 2026, 8:10 AM