CVE-2024-54461 LOW

CVE-2024-54461: Unsanitized Filenames in Flutter package file_selector_android Allow File Overwrites

Vendor Flutter
Product file_selector_android
Weakness CWE-23
Published January 29, 2025
Last update February 12, 2025

CVSS base score

2.1/10
Attack vector Local
Attack complexity High
Privileges required Low
User interaction
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 29, 2025 CVE published
February 12, 2025 Record updated