CVE-2024-54461
JSON

2.1low

Unsanitized Filenames in Flutter package file_selector_android Allow File Overwrites

Severity
2.1low CVSS:4.0 by Google
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Google

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.

Affected

Product or packageVersionsReported by
Flutter file_selector_androidfrom 0.5.1 up to 0.5.1+11, from 0.5.1 before 0.5.1\+12CVE List, NVD

All scores

Google2.1low CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:H/SA:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Classification

CWE-22CWE-23

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Los nombres de archivo creados dentro de file_selector no cumplen con las comprobaciones desinfección, lo que los deja vulnerables a proveedores de documentos maliciosos. Esto puede generar casos en los que un usuario con un proveedor de documentos malicioso instalado pueda seleccionar un archivo de documento de ese proveedor mientras usa su aplicación y podría anular archivos internos en la memoria caché de su aplicación. Problema corregido en 0.5.1+12. Se recomienda actualizar a la última versión de file_selector_android que contiene los cambios para solucionar esta vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-54461 changed 2025-02-12CVE Terms of Use
NVDCVE-2024-54461 changed 2026-06-17Public domain